disable http auth for websockets

This commit is contained in:
j3d1 2023-11-22 22:37:56 +01:00
parent c88d434f39
commit e45a1f271e
4 changed files with 22 additions and 5 deletions

View file

@ -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);