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