From 18d00de5fccf4b5bc238c743a20f03c0ec7c8697 Mon Sep 17 00:00:00 2001 From: aixianling Date: Wed, 17 Aug 2022 18:12:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=B5=8B=E8=AF=95=E8=8A=82?= =?UTF-8?q?=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue.config.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vue.config.js b/vue.config.js index e7baba86..91ad2071 100644 --- a/vue.config.js +++ b/vue.config.js @@ -64,6 +64,14 @@ module.exports = { '^/lan': '/' } }, + '/test': { + target: 'http://192.168.1.105:9000', + changeOrigin: true, + pathRewrite: { + //地址重写 + '^/test': '/' + } + }, '/saas': { target: 'http://192.168.1.34:19898', changeOrigin: true,