From 4567edbd5f19eb8f8ea7b402229d62a18f5053e9 Mon Sep 17 00:00:00 2001 From: aixianling Date: Mon, 20 Jun 2022 11:39:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9C=AC=E5=9C=B0=E8=B0=83?= =?UTF-8?q?=E8=AF=95=E9=85=8D=E7=BD=AE?= 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 df17a982..8d5b1e8e 100644 --- a/vue.config.js +++ b/vue.config.js @@ -96,6 +96,14 @@ module.exports = { '^/ns': '/' } }, + '/lns': { + target: 'http://localhost:12525', + changeOrigin: true, + pathRewrite: { + //地址重写 + '^/lns': '/' + } + }, '/xsjr': { target: 'http://192.168.1.87:39896', changeOrigin: true,