change link redirect

This commit is contained in:
2026-04-19 03:39:38 +01:00
parent 31aac2db57
commit f220ee6c3e
5 changed files with 493 additions and 1 deletions
+8
View File
@@ -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];
};