From b428a0a5caa6be526bdbe06e96cc761bc0ab138f Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Tue, 10 Jun 2025 09:27:12 +0800
Subject: [PATCH] Merge branch 'refs/heads/master' into feature/v2.0.0/后台管理数据中心
---
vite.config.mjs | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/vite.config.mjs b/vite.config.mjs
index 7f6b907..cbcf19c 100644
--- a/vite.config.mjs
+++ b/vite.config.mjs
@@ -40,8 +40,7 @@
// host: '192.168.1.178',
proxy: {
'/api': {
- target: 'http://localhost',
- // target: VITE_APP_URL,
+ target: VITE_APP_URL,
changeOrigin: true,
rewrite: path => path.replace(/^\/api/, ''),
},
--
Gitblit v1.9.3