Feat: Home Re-Design & MacOS Detection Fix

This commit is contained in:
Youwes09
2026-04-22 22:15:13 -05:00
parent 7dd4f52308
commit 2eb8a7662e
12 changed files with 759 additions and 259 deletions
+2 -2
View File
@@ -58,7 +58,7 @@ export async function probeServer(): Promise<"ok" | "auth_required" | "unsupport
const res = await fetch(`${base}/api/graphql`, {
method: "POST", credentials: "omit", headers,
body: JSON.stringify({ query: "{ __typename }" }),
signal: AbortSignal.timeout(2000),
signal: AbortSignal.timeout(5000),
});
if (res.ok) return "ok";
if (res.status === 401) {
@@ -76,4 +76,4 @@ export async function probeServer(): Promise<"ok" | "auth_required" | "unsupport
}
return "unreachable";
} catch { return "unreachable"; }
}
}