mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-04-25 11:18:22 +00:00
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…
x
Reference in New Issue
Block a user