From 0f6972635c61a07dcbe687ea3772569d2bf95019 Mon Sep 17 00:00:00 2001 From: miao <2514145421@qq.com> Date: Wed, 8 Mar 2023 11:52:58 +0800 Subject: [PATCH] =?UTF-8?q?WIP=20on=20master=5Fv2:=20c318910=20=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E5=90=88=E5=B9=B6=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- quasar.conf.js | 5 +++++ src/App.vue | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/quasar.conf.js b/quasar.conf.js index 1a04b15..6c637f7 100644 --- a/quasar.conf.js +++ b/quasar.conf.js @@ -73,6 +73,11 @@ module.exports = configure(function (ctx) { https: false, port: 8080, open: true, // opens browser window automatically + proxy: { + "/get_websocket_port": "http://192.168.2.102", + "/media_control_client_product.js": "http://192.168.2.102", + "/media_control_client_language.js": "http://192.168.2.102", + }, }, // https://v2.quasar.dev/quasar-cli/quasar-conf-js#Property%3A-framework diff --git a/src/App.vue b/src/App.vue index 7ff6ab6..70f955c 100644 --- a/src/App.vue +++ b/src/App.vue @@ -119,7 +119,7 @@ export default defineComponent({ console.log(e); } - EventBus.getInstance().on(EventNamesDefine.CheckDebug, () => { + EventBus.getInstance().on(EventNamesDefine.CheckDebug2, () => { const to_normal_url = () => { const p1 = window.location.href.indexOf("?debug"); const p2 = window.location.href.indexOf("#");