This commit is contained in:
ManeraKai 2022-12-07 10:52:08 +03:00
parent f454ced949
commit decc32e7e6
No known key found for this signature in database
GPG Key ID: 5ABC31FFD562E337
1 changed files with 5 additions and 0 deletions

View File

@ -103,6 +103,11 @@ async function processDefaultCustomInstances(service, frontend, network, documen
<input type="checkbox" class="toggle-all"/>
</div>`,
...redirects[frontend][network]
.sort((a, b) =>
(cloudflareBlackList.includes(a) && !cloudflareBlackList.includes(b))
||
(authenticateBlackList.includes(a) && !authenticateBlackList.includes(b))
)
.map(x => {
const cloudflare = cloudflareBlackList.includes(x) ? ' <span style="color:red;">cloudflare</span>' : ""
const authenticate = authenticateBlackList.includes(x) ? ' <span style="color:orange;">authenticate</span>' : ""