From 07d9dac587d5265fedd94a518c711721413f13b5 Mon Sep 17 00:00:00 2001
From: 819527061@qq.com <123456>
Date: 星期二, 09 四月 2024 17:41:26 +0800
Subject: [PATCH] docs:路由修改
---
vue.config.js | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/vue.config.js b/vue.config.js
index b878498..6b16215 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -12,14 +12,15 @@
productionSourceMap: false,
devServer: {
sockHost: 'localhost',
+ port: 8082,
disableHostCheck: true,
proxy: {
- '/api':{
+ '/':{
//target:'http://183.196.93.178',
- target:'http://127.0.0.1',
+ target:'http://127.0.0.1:8089',
changeOrigin:true,
pathRewrite:{
- '/api':''
+ '/':''
}
}
}
--
Gitblit v1.9.1