add: loud buzzer

This commit is contained in:
Namonay
2024-03-25 14:53:38 +01:00
committed by AdrienLSH
parent 630f59055a
commit 8d6272c85d
3 changed files with 28 additions and 14 deletions

View File

@ -27,6 +27,7 @@ class MatchMaking
return null;
this.gamemode = gamemode
let url = `${window.location.protocol[4] === 's' ? 'wss' : 'ws'}://${window.location.host}/ws/matchmaking/${mode}`;
this._socket = new WebSocket(url);