aboutsummaryrefslogtreecommitdiff
path: root/webAO/master.ts
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2024-04-13 22:10:14 +0200
committerstonedDiscord <Tukz@gmx.de>2024-04-13 22:10:14 +0200
commit000247fa0a4230c52a6ccd508234964c6c99000a (patch)
tree115fbb93e496af152ce1bf88298ddad71031c8f2 /webAO/master.ts
parent175bebba694121d53b0cfad3e1b6d84e477b820b (diff)
nintendo can't do wss
Diffstat (limited to 'webAO/master.ts')
-rw-r--r--webAO/master.ts2
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';