mirror of
https://github.com/PeterMaquiran/tvone.git
synced 2026-04-23 12:35:51 +00:00
change link redirect
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
export const getTokenFromCookies = (cookieHeader: string | null) => {
|
||||
if (!cookieHeader) return null;
|
||||
|
||||
return cookieHeader
|
||||
.split("; ")
|
||||
.find((c) => c.startsWith("access_token="))
|
||||
?.split("=")[1];
|
||||
};
|
||||
Reference in New Issue
Block a user