websocket test
This commit is contained in:
parent
4682fd678c
commit
2a3e1c7f8a
1 changed files with 1 additions and 5 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue