fix(config): update SSR fallback in getBaseOrigin function (#1617)

This commit is contained in:
JeffJiang 2026-03-30 16:13:32 +08:00 committed by GitHub
parent 6cc259dc60
commit 5e18b6cf72
1 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,8 @@ function getBaseOrigin() {
if (typeof window !== "undefined") {
return window.location.origin;
}
return undefined;
// Fallback for SSR
return "http://localhost:2026";
}
export function getBackendBaseURL() {