From 3b528b0ff28b5f5119d8749c09da8545cd253b77 Mon Sep 17 00:00:00 2001 From: kongdeqiang <123456> Date: 星期三, 16 十月 2024 18:33:26 +0800 Subject: [PATCH] fix: 小bug --- 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