From bdbbd24e6fa17e05b07db574e6dc0d76ddadd7e4 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 7 May 2023 12:22:51 +0200 Subject: [PATCH] Only include /ws/events as a proxied websocket, without messing with the /ws route exposed by the Vue debugger --- platypush/backend/http/webapp/vue.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/backend/http/webapp/vue.config.js b/platypush/backend/http/webapp/vue.config.js index cc7286b4ff..5596fde4c6 100644 --- a/platypush/backend/http/webapp/vue.config.js +++ b/platypush/backend/http/webapp/vue.config.js @@ -18,7 +18,7 @@ module.exports = { target: 'http://localhost:8008', changeOrigin: true }, - '/ws/*': { + '/ws/events': { target: 'http://localhost:8008', ws: true, changeOrigin: true