From 3cc6aa69cca0b0d991f8537999c578eaee68e07e Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期四, 25 四月 2024 14:33:24 +0800
Subject: [PATCH] 提交项目多环境配置
---
UI-Project/vite.config.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/UI-Project/vite.config.js b/UI-Project/vite.config.js
index e0a49a0..996aec1 100644
--- a/UI-Project/vite.config.js
+++ b/UI-Project/vite.config.js
@@ -22,7 +22,7 @@
https: false,
proxy: {
'/api': {
- target: 'http://10.153.19.150:88/',
+ target: '10.153.19.150:88/',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '/'),
},
--
Gitblit v1.8.0