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("#");