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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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() {