From e5bbe101c977bef5cea1887880fab7a843d03e33 Mon Sep 17 00:00:00 2001 From: Sam <315859133@qq.com> Date: Fri, 6 Feb 2026 00:14:35 +0800 Subject: [PATCH] chore: configure environment variables for Fengling API --- apps/web-ele/.env.development | 6 +++--- apps/web-ele/.env.production | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/web-ele/.env.development b/apps/web-ele/.env.development index 8bcb432..6220ca8 100644 --- a/apps/web-ele/.env.development +++ b/apps/web-ele/.env.development @@ -3,11 +3,11 @@ VITE_PORT=5777 VITE_BASE=/ -# 接口地址 -VITE_GLOB_API_URL=/api +# 接口地址 - Fengling Console Backend +VITE_GLOB_API_URL=http://localhost:5231/api # 是否开启 Nitro Mock服务,true 为开启,false 为关闭 -VITE_NITRO_MOCK=true +VITE_NITRO_MOCK=false # 是否打开 devtools,true 为打开,false 为关闭 VITE_DEVTOOLS=false diff --git a/apps/web-ele/.env.production b/apps/web-ele/.env.production index 5375847..ca2963c 100644 --- a/apps/web-ele/.env.production +++ b/apps/web-ele/.env.production @@ -1,7 +1,7 @@ VITE_BASE=/ -# 接口地址 -VITE_GLOB_API_URL=https://mock-napi.vben.pro/api +# 接口地址 - Fengling Console Backend (请根据实际部署环境修改) +VITE_GLOB_API_URL=https://api.yourdomain.com/api # 是否开启压缩,可以设置为 none, brotli, gzip VITE_COMPRESS=none