mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-18 03:54:46 +08:00
fix: fix getBackendBaseURL()
This commit is contained in:
@@ -24,10 +24,7 @@ export const env = createEnv({
|
||||
* `NEXT_PUBLIC_`.
|
||||
*/
|
||||
client: {
|
||||
NEXT_PUBLIC_BACKEND_BASE_URL: z
|
||||
.string()
|
||||
.optional()
|
||||
.default("http://localhost:8000/api"),
|
||||
NEXT_PUBLIC_BACKEND_BASE_URL: z.string().optional(),
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user