Untitled
unknown
plain_text
a year ago
174 B
9
Indexable
const cookie = (res.headers['set-cookie'] as string[])
.find(cookie => cookie.includes("refreshToken"))
?.match(new RegExp(`^${"refreshToken"}=(.+?);`))
?.[1];Editor is loading...
Leave a Comment