From 2a4fdeef043e9eb0490da697677c6fd85aafa1a4 Mon Sep 17 00:00:00 2001 From: Fanzink <460995166@qq.com> Date: Fri, 4 Mar 2022 10:45:12 +0800 Subject: [PATCH] =?UTF-8?q?'=E4=B8=8D=E5=8A=A8vue.config.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vue.config.js b/vue.config.js index 419850a..eb1f0c4 100644 --- a/vue.config.js +++ b/vue.config.js @@ -55,6 +55,7 @@ module.exports = { // target: 'http://127.0.0.1:8080', // target: 'http://192.168.0.70:8080', // target: 'http://192.168.0.199:8080', + ws: true, changeOrigin: true, pathRewrite: { @@ -187,4 +188,4 @@ module.exports = { } ) } -} +} \ No newline at end of file