notice: fix: remove eroor

This commit is contained in:
starnakin 2024-04-08 14:23:51 +02:00
parent 25d86012ba
commit f914d5d71a

View File

@ -16,6 +16,7 @@ class Notice {
}
async connect() {
return
let url = `${window.location.protocol[4] === 's' ? 'wss' : 'ws'}://${window.location.host}/ws/chat/notice`;
this.chatSocket = new WebSocket(url);