mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-20 10:39:59 +01:00
websocket test
This commit is contained in:
parent
4682fd678c
commit
2a3e1c7f8a
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user