From 000247fa0a4230c52a6ccd508234964c6c99000a Mon Sep 17 00:00:00 2001 From: stonedDiscord Date: Sat, 13 Apr 2024 22:10:14 +0200 Subject: [PATCH] nintendo can't do wss --- webAO/master.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webAO/master.ts b/webAO/master.ts index 23f64617..112e035e 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';