mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-20 21:04:45 +08:00
feat: support static website
This commit is contained in:
@@ -4,8 +4,6 @@ export function getBackendBaseURL() {
|
||||
if (env.NEXT_PUBLIC_BACKEND_BASE_URL) {
|
||||
return env.NEXT_PUBLIC_BACKEND_BASE_URL;
|
||||
} else {
|
||||
// Use empty string for same-origin requests through nginx
|
||||
// Paths like /api/models will be handled by nginx proxy
|
||||
return "";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user