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 34e835bc33
commit 2330c38209
+2 -1
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() {