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) {