From 40df27ac2743083ed196d4cc91d285716a3fb660 Mon Sep 17 00:00:00 2001
From: heimawl <1785969728@qq.com>
Date: 星期二, 01 八月 2023 10:33:37 +0800
Subject: [PATCH] 11
---
vue.config.js | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/vue.config.js b/vue.config.js
index 58d5a8b..ce7adcf 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -35,8 +35,9 @@
proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy
[process.env.VUE_APP_BASE_API]: {
- target1: `http://116.62.18.175:8080`,
- target: `http://localhost:8080`,
+ target1: `http://192.168.1.4:8080`,
+ target: `http://192.168.1.4:8080`,
+ // target: `http://www.hxsoft.com:8080`,
changeOrigin: true,
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''
@@ -129,7 +130,7 @@
config.optimization.runtimeChunk('single'),
{
from: path.resolve(__dirname, './public/robots.txt'), //闃茬埇铏枃浠�
- to: './' //鍒版牴鐩綍涓�
+ to: '/' //鍒版牴鐩綍涓�
}
}
)
--
Gitblit v1.9.3