From 2a3e1c7f8a5921d7e4471f835ebb053b4fdec191 Mon Sep 17 00:00:00 2001 From: Ben Arc Date: Wed, 14 Apr 2021 09:34:14 +0100 Subject: [PATCH] websocket test --- lnbits/extensions/copilot/templates/copilot/compose.html | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lnbits/extensions/copilot/templates/copilot/compose.html b/lnbits/extensions/copilot/templates/copilot/compose.html index 941838bf..322dcf85 100644 --- a/lnbits/extensions/copilot/templates/copilot/compose.html +++ b/lnbits/extensions/copilot/templates/copilot/compose.html @@ -62,11 +62,7 @@ console.log('Starting connection to WebSocket Server') this.connection = new WebSocket( - 'wss://' + - document.domain + - ':' + - location.port + - '/ws/{{ copilot.id }}' + 'wss://' + document.domain + ':' + location.port + '/ws' ) this.connection.onmessage = function (event) {