mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-20 04:44:46 +08:00
feat: add NEXT_PUBLIC_BACKEND_BASE_URL
This commit is contained in:
5
frontend/src/core/config/index.ts
Normal file
5
frontend/src/core/config/index.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { env } from "@/env";
|
||||
|
||||
export function getBackendBaseURL() {
|
||||
return env.NEXT_PUBLIC_BACKEND_BASE_URL ?? "http://localhost:8000";
|
||||
}
|
||||
Reference in New Issue
Block a user