fix: fix getBackendBaseURL()

This commit is contained in:
Henry Li
2026-01-19 15:42:19 +08:00
parent f3f66ee924
commit 1ef04c94ee
2 changed files with 6 additions and 5 deletions
+1 -4
View File
@@ -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(),
},
/**