From be434a03624a23205b2b010316195a93a1575716 Mon Sep 17 00:00:00 2001 From: mortezaei Date: Mon, 17 Aug 2026 18:51:07 +0330 Subject: [PATCH] ssr 2 --- src/lib/ssr-fetch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ssr-fetch.ts b/src/lib/ssr-fetch.ts index e46470d..473d7e9 100644 --- a/src/lib/ssr-fetch.ts +++ b/src/lib/ssr-fetch.ts @@ -15,7 +15,7 @@ function getApiBaseUrl(): string { * @returns Profile data or null on failure */ export async function fetchProfileSSR( - token: string, + token?: string | null, timeoutMs = 1500, ): Promise { if (!token || token === "NO_TOKEN" || token.trim() === "") return null;