From d4bde3baadfba48274a6de94b9f50b4d110641ea Mon Sep 17 00:00:00 2001 From: ReaJason Date: Mon, 11 Aug 2025 01:50:30 +0800 Subject: [PATCH] fix: web page broken --- web/src/config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/config.ts b/web/src/config.ts index dddc514d..8d4999c0 100644 --- a/web/src/config.ts +++ b/web/src/config.ts @@ -1,8 +1,8 @@ import * as yup from "yup"; const EnvSchema = yup.object({ - API_URL: yup.string().required(), - BASE_PATH: yup.string().required(), + API_URL: yup.string().optional(), + BASE_PATH: yup.string().optional(), MODE: yup.string().required(), LANDING: yup.boolean().required(), });