Browse Source

ssr 2

master
mortezaei 1 week ago
parent
commit
be434a0362
  1. 2
      src/lib/ssr-fetch.ts

2
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<any | null> {
if (!token || token === "NO_TOKEN" || token.trim() === "") return null;

Loading…
Cancel
Save