From 4b1304917b0b16b09dd50191fab59d96933c0cf3 Mon Sep 17 00:00:00 2001
From: 曹睿 <360930172@qq.com>
Date: 星期二, 17 六月 2025 17:31:11 +0800
Subject: [PATCH] feat: 6月15日任务完90%

---
 vite.config.js |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/vite.config.js b/vite.config.js
index 01fd0b1..2c84c9f 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -2,12 +2,14 @@
 import path from 'path'
 import createVitePlugins from './vite/plugins'
 
-const baseUrl = 'http://127.0.0.1:7003' // 鍚庣鎺ュ彛
-
 // https://vitejs.dev/config/
 export default defineConfig(({ mode, command }) => {
   const env = loadEnv(mode, process.cwd())
   const { VITE_APP_ENV } = env
+  const baseUrl = VITE_APP_ENV == 'development' 
+    ? 'http://192.168.10.2:7003' // 寮�鍙戠幆澧冨悗绔帴鍙�
+    : 'http://114.132.189.42:7004' // 鐢熶骇鐜鍚庣鎺ュ彛
+
   return {
     // 閮ㄧ讲鐢熶骇鐜鍜屽紑鍙戠幆澧冧笅鐨刄RL銆�
     // 榛樿鎯呭喌涓嬶紝vite 浼氬亣璁句綘鐨勫簲鐢ㄦ槸琚儴缃插湪涓�涓煙鍚嶇殑鏍硅矾寰勪笂

--
Gitblit v1.9.3