w-lab-app/src/shared/auth/token.ts
gofnnp fc01784acb main
add profile path & auth
2025-06-19 20:35:00 +04:00

6 lines
173 B
TypeScript

// src/shared/auth/token.ts
import { cookies } from "next/headers";
export async function getServerAccessToken() {
return (await cookies()).get("accessToken")?.value;
}