websocket test
This commit is contained in:
@@ -62,11 +62,7 @@
|
|||||||
|
|
||||||
console.log('Starting connection to WebSocket Server')
|
console.log('Starting connection to WebSocket Server')
|
||||||
this.connection = new WebSocket(
|
this.connection = new WebSocket(
|
||||||
'wss://' +
|
'wss://' + document.domain + ':' + location.port + '/ws'
|
||||||
document.domain +
|
|
||||||
':' +
|
|
||||||
location.port +
|
|
||||||
'/ws/{{ copilot.id }}'
|
|
||||||
)
|
)
|
||||||
|
|
||||||
this.connection.onmessage = function (event) {
|
this.connection.onmessage = function (event) {
|
||||||
|
|||||||
Reference in New Issue
Block a user