From d1a606963672990eee0b4db6834fa0c3e74fa946 Mon Sep 17 00:00:00 2001 From: guoshipeng <3194674006@qq.com> Date: Thu, 06 Jul 2023 09:35:24 +0800 Subject: [PATCH] 上传组件 --- vue.config.js | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/vue.config.js b/vue.config.js index 3cb4073..90e8e90 100644 --- a/vue.config.js +++ b/vue.config.js @@ -45,17 +45,17 @@ pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: '' } + }, + '/Req': { + // target: `http://192.168.1.129:8080/screen/login?account=chenxi&password=123456`, + // target: `http://localhost:${port}/mock`, + target: `http://192.168.55.1:8081/`, + secure: false, // ���������https������������������������������������true + changeOrigin: true, + pathRewrite: { + '^/Req': '' + } } - // '/Req': { - // // target: `http://192.168.1.129:8080/screen/login?account=chenxi&password=123456`, - // // target: `http://localhost:${port}/mock`, - // target: `http://121.43.179.139:8080`, - // secure: false, // ���������https������������������������������������true - // changeOrigin: true, - // pathRewrite: { - // '^/Req': '' - // } - // } }, after: require('./mock/mock-server.js'), historyApiFallback: { -- Gitblit v1.8.0