diff options
| author | stonedDiscord <Tukz@gmx.de> | 2024-04-13 22:10:14 +0200 |
|---|---|---|
| committer | stonedDiscord <Tukz@gmx.de> | 2024-04-13 22:10:14 +0200 |
| commit | 000247fa0a4230c52a6ccd508234964c6c99000a (patch) | |
| tree | 115fbb93e496af152ce1bf88298ddad71031c8f2 /webAO | |
| parent | 175bebba694121d53b0cfad3e1b6d84e477b820b (diff) | |
nintendo can't do wss
Diffstat (limited to 'webAO')
| -rw-r--r-- | webAO/master.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/master.ts b/webAO/master.ts index 23f6461..112e035 100644 --- a/webAO/master.ts +++ b/webAO/master.ts @@ -173,7 +173,7 @@ function processServerlist(serverlist: AOServer[]) { ws_protocol = 'ws'; http_protocol = 'http'; } - if (server.wss_port) { + if (server.wss_port && !window.navigator.userAgent.includes("Nintendo")) { ws_port = server.wss_port; ws_protocol = 'wss'; http_protocol = 'https'; |
