From 2487f075247d834a1e01176f4da8c6fb7adf37f6 Mon Sep 17 00:00:00 2001 From: admin <417727563@qq.com> Date: Sat, 17 May 2025 15:35:54 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE0517?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 2 +- vite.config.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.env.production b/.env.production index 09e06cb..4016237 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,5 @@ # 变量必须以 VITE_ 为前缀才能暴露给外部读取 NODE_ENV = 'development' VITE_APP_TITLE = '高赛通单项目' -VITE_APP_BASE_API = http://182.92.169.222:18086/jeecg-boot +VITE_APP_BASE_API = http://115.190.99.211:18086/jeecg-boot # VITE_APP_BASE_API = 'http://127.0.0.1:8080' \ No newline at end of file diff --git a/vite.config.ts b/vite.config.ts index e42aecd..1a47dcd 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -33,7 +33,8 @@ export default defineConfig({ host: '0.0.0.0', port: 8866, }, - base:'/gst_single', + // base:'/gst_single', + base:'/', resolve: { alias: { '@': path.resolve('./src'), // 相对路径别名配置,使用 @ 代替 src