From b6809f71253a524d81c086ef1293acafdaba395e Mon Sep 17 00:00:00 2001 From: kongdeqiang <123456> Date: 星期二, 12 九月 2023 15:45:07 +0800 Subject: [PATCH] 修改前端页面 --- vue.config.js | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/vue.config.js b/vue.config.js index 96259df..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://183.196.93.178', + target:'http://127.0.0.1:8089', changeOrigin:true, pathRewrite:{ - '/api':'' + '/':'' } } } -- Gitblit v1.9.1