From 98c2f53a3a519971f0476c380541d797955324fa Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sun, 29 Mar 2020 18:40:51 +0200 Subject: [PATCH] Fix URL --- assets/js/common/ws.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/common/ws.js b/assets/js/common/ws.js index 0c85b424..54460f31 100644 --- a/assets/js/common/ws.js +++ b/assets/js/common/ws.js @@ -19,7 +19,7 @@ class UserWebSocket { const token = (await api("ws/token", null, true)).token; // Determine websocket URL - const url = ComunicWeb.__config.apiURL.replace("http", "ws") + "ws?key=" + token + const url = ComunicWeb.__config.apiURL.replace("http", "ws") + "ws?token=" + token // Connect to websocket this.ws = new WebSocket(url);