From 5ab516e17cf21585384008562136f61e8d97a9fd Mon Sep 17 00:00:00 2001 From: Emupedia Date: Mon, 3 Jun 2024 09:01:43 +0300 Subject: [PATCH] More work --- beta/emuos/assets/js/emuos.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/beta/emuos/assets/js/emuos.js b/beta/emuos/assets/js/emuos.js index 725363304..719ea18a0 100644 --- a/beta/emuos/assets/js/emuos.js +++ b/beta/emuos/assets/js/emuos.js @@ -327,7 +327,7 @@ } var start = ''; - var domains = ['emupedia.net', 'emupedia.org', 'emuos.net', 'emuos.org']; + var domains = ['emupedia.net', 'emupedia.org', 'emupedia.games', 'emuos.net', 'emuos.org', 'emuos.games']; var frontend = ~domains.indexOf(window.location.hostname) ? 'https://emuchat.' + domains[domains.indexOf(window.location.hostname)] + '/' : 'https://emuchat.emupedia.net/'; var chat = null; @@ -961,8 +961,8 @@ if (typeof self.options.network.start === 'function') { setTimeout(function() { window['NETWORK_CONNECTION'] = self.options.network.start({ - servers: ['wss://ws.emupedia.net/ws/', 'wss://ws.emupedia.org/ws/', 'wss://ws.emuos.net/ws/', 'wss://ws.emuos.org/ws/'], - server: ~window.location.hostname.indexOf('emupedia.net') ? 0 : (~window.location.hostname.indexOf('emupedia.org') ? 1 : (~window.location.hostname.indexOf('emuos.net') ? 2 : (~window.location.hostname.indexOf('emuos.org') ? 3 : 0))), + servers: ['wss://ws.emupedia.net/ws/', 'wss://ws.emupedia.org/ws/', 'wss://ws.emupedia.games/ws/', 'wss://ws.emuos.net/ws/', 'wss://ws.emuos.org/ws/', 'wss://ws.emuos.games/ws/'], + server: ~window.location.hostname.indexOf('emupedia.net') ? 0 : (~window.location.hostname.indexOf('emupedia.org') ? 1 : (~window.location.hostname.indexOf('emupedia.games') ? 2 : (~window.location.hostname.indexOf('emuos.net') ? 3 : (~window.location.hostname.indexOf('emuos.org') ? 4 : (~window.location.hostname.indexOf('emuos.games') ? 5 : 0))))), mode: 0 }); });