1 | var authServers, registrationServers, servers;
|
2 |
|
3 | servers = ["wss://east.glgresearch.com/awesome-auth/", "wss://west.glgresearch.com/awesome-auth/", "wss://europe.glgresearch.com/awesome-auth/", "wss://asia.glgresearch.com/awesome-auth/"];
|
4 |
|
5 | authServers = [];
|
6 |
|
7 | registrationServers = [];
|
8 |
|
9 | servers.forEach(function(server) {
|
10 | authServers.push("" + server + "auth");
|
11 | return registrationServers.push("" + server + "registration");
|
12 | });
|
13 |
|
14 | module.exports = {
|
15 | authServers: authServers,
|
16 | registrationServers: registrationServers
|
17 | };
|