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