Spaces:
Runtime error
Runtime error
Update ultimate_fix.js
Browse files- ultimate_fix.js +4 -2
ultimate_fix.js
CHANGED
|
@@ -24,7 +24,8 @@ try {
|
|
| 24 |
const DISCORD_IPS = [
|
| 25 |
'162.159.138.232', '162.159.137.232', '162.159.136.232', '162.159.135.232',
|
| 26 |
'162.159.129.232', '162.159.130.233', '162.159.133.232', '162.159.134.232',
|
| 27 |
-
'104.16.58.5', '104.16.59.5', '104.16.60.5', '104.16.61.5'
|
|
|
|
| 28 |
];
|
| 29 |
let currentIpIndex = Math.floor(Math.random() * DISCORD_IPS.length);
|
| 30 |
|
|
@@ -36,7 +37,8 @@ dns.lookup = function(hostname, options, callback) {
|
|
| 36 |
}
|
| 37 |
|
| 38 |
const isDiscord = (hostname.includes('discord.com') ||
|
| 39 |
-
hostname.includes('discordapp.com')
|
|
|
|
| 40 |
!hostname.includes('cdn.') &&
|
| 41 |
!hostname.includes('media.') &&
|
| 42 |
!hostname.includes('workers.dev');
|
|
|
|
| 24 |
const DISCORD_IPS = [
|
| 25 |
'162.159.138.232', '162.159.137.232', '162.159.136.232', '162.159.135.232',
|
| 26 |
'162.159.129.232', '162.159.130.233', '162.159.133.232', '162.159.134.232',
|
| 27 |
+
'104.16.58.5', '104.16.59.5', '104.16.60.5', '104.16.61.5',
|
| 28 |
+
'172.67.147.230', '104.21.43.141', '104.18.25.27', '104.18.24.27'
|
| 29 |
];
|
| 30 |
let currentIpIndex = Math.floor(Math.random() * DISCORD_IPS.length);
|
| 31 |
|
|
|
|
| 37 |
}
|
| 38 |
|
| 39 |
const isDiscord = (hostname.includes('discord.com') ||
|
| 40 |
+
hostname.includes('discordapp.com') ||
|
| 41 |
+
hostname.includes('discord.gg')) &&
|
| 42 |
!hostname.includes('cdn.') &&
|
| 43 |
!hostname.includes('media.') &&
|
| 44 |
!hostname.includes('workers.dev');
|