From 1eccce45585b6ccd6bd3bc32aaa5ffc12a0f087f Mon Sep 17 00:00:00 2001 From: kongdeqiang <123456> Date: 星期五, 22 九月 2023 09:45:29 +0800 Subject: [PATCH] 修改前端页面 --- 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