From 7b34dc53b5272c396b9bad8a76ff37ca6cad0ce4 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Thu, 13 Oct 2022 11:16:11 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E5=A2=9E=E5=8A=A0vue=E6=89=93?= =?UTF-8?q?=E5=8C=85=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api-test/frontend/vue.config.js | 1 + framework/sdk-parent/frontend/vue.config.js | 1 + performance-test/frontend/vue.config.js | 1 + project-management/frontend/vue.config.js | 1 + report-stat/frontend/vue.config.js | 1 + system-setting/frontend/vue.config.js | 1 + test-track/frontend/vue.config.js | 1 + 7 files changed, 7 insertions(+) diff --git a/api-test/frontend/vue.config.js b/api-test/frontend/vue.config.js index 32792fa47d..e715dacb98 100644 --- a/api-test/frontend/vue.config.js +++ b/api-test/frontend/vue.config.js @@ -12,6 +12,7 @@ module.exports = { client: { webSocketTransport: 'sockjs', }, + disableHostCheck: true, webSocketServer: 'sockjs', proxy: { ['^((?!/login)(?!/document))']: { diff --git a/framework/sdk-parent/frontend/vue.config.js b/framework/sdk-parent/frontend/vue.config.js index 8d2f2a4f96..76f947086e 100644 --- a/framework/sdk-parent/frontend/vue.config.js +++ b/framework/sdk-parent/frontend/vue.config.js @@ -13,6 +13,7 @@ module.exports = { webSocketTransport: 'sockjs', }, webSocketServer: 'sockjs', + disableHostCheck: true, proxy: { ['^((?!/login)(?!/document))']: { target: 'http://localhost:8000', diff --git a/performance-test/frontend/vue.config.js b/performance-test/frontend/vue.config.js index e405a433c9..fcd734c929 100644 --- a/performance-test/frontend/vue.config.js +++ b/performance-test/frontend/vue.config.js @@ -12,6 +12,7 @@ module.exports = { client: { webSocketTransport: 'sockjs', }, + disableHostCheck: true, webSocketServer: 'sockjs', proxy: { ['^((?!/login)(?!/document))']: { diff --git a/project-management/frontend/vue.config.js b/project-management/frontend/vue.config.js index 402e3a3ed9..e39d72d992 100644 --- a/project-management/frontend/vue.config.js +++ b/project-management/frontend/vue.config.js @@ -12,6 +12,7 @@ module.exports = { client: { webSocketTransport: 'sockjs', }, + disableHostCheck: true, webSocketServer: 'sockjs', proxy: { ['^((?!/login)(?!/document))']: { diff --git a/report-stat/frontend/vue.config.js b/report-stat/frontend/vue.config.js index 5396667c6d..3fc937a525 100644 --- a/report-stat/frontend/vue.config.js +++ b/report-stat/frontend/vue.config.js @@ -12,6 +12,7 @@ module.exports = { client: { webSocketTransport: 'sockjs', }, + disableHostCheck: true, webSocketServer: 'sockjs', proxy: { ['^((?!/login)(?!/document))']: { diff --git a/system-setting/frontend/vue.config.js b/system-setting/frontend/vue.config.js index c845549c29..1de0e7c88b 100644 --- a/system-setting/frontend/vue.config.js +++ b/system-setting/frontend/vue.config.js @@ -12,6 +12,7 @@ module.exports = { client: { webSocketTransport: 'sockjs', }, + disableHostCheck: true, webSocketServer: 'sockjs', proxy: { ['^((?!/login)(?!/document))']: { diff --git a/test-track/frontend/vue.config.js b/test-track/frontend/vue.config.js index 70d44d25fa..1f5438d086 100644 --- a/test-track/frontend/vue.config.js +++ b/test-track/frontend/vue.config.js @@ -15,6 +15,7 @@ module.exports = { client: { webSocketTransport: 'sockjs', }, + disableHostCheck: true, webSocketServer: 'sockjs', proxy: { ['^((?!/login)(?!/document))']: {