disable http auth for websockets
This commit is contained in:
parent
c88d434f39
commit
e45a1f271e
4 changed files with 22 additions and 5 deletions
|
@ -35,7 +35,7 @@ export default {
|
|||
}
|
||||
},
|
||||
created: function () {
|
||||
this.notify_socket = new WebSocket('wss://' + window.location.host + '/notify/');
|
||||
this.notify_socket = new WebSocket('wss://' + window.location.host + '/ws/notify/');
|
||||
this.notify_socket.onmessage = (e) => {
|
||||
let data = JSON.parse(e.data);
|
||||
console.log(data, e.data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue