From d9c785f24c5a8cba5cb4cdb2f51dc5fcaf2c533c Mon Sep 17 00:00:00 2001 From: 819527061@qq.com <123456> Date: 星期五, 15 九月 2023 16:26:20 +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