fix(config): update SSR fallback in getBaseOrigin function (#1617)
This commit is contained in:
parent
34e835bc33
commit
2330c38209
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue