Untitled
unknown
plain_text
10 months ago
174 B
7
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