Skip to content

Commit

Permalink
More work
Browse files Browse the repository at this point in the history
  • Loading branch information
Emupedia-Bot committed Jun 3, 2024
1 parent 16ac47b commit 5ab516e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions beta/emuos/assets/js/emuos.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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
});
});
Expand Down

0 comments on commit 5ab516e

Please sign in to comment.