deploy: d195e90338bd5d4395f13b64a59637305d2a11d9

This commit is contained in:
SukkaBot
2022-06-10 09:00:59 +00:00
parent 649a08df66
commit d4801bf1af
3 changed files with 629 additions and 120 deletions

View File

@@ -90,7 +90,7 @@ async function processFilterRules(filterRulesUrl) {
|| line.includes('!')
|| line.includes('*')
|| line.includes('/')
|| line.includes('$') && !line.startsWith('@@')
|| line.includes('$') && !line.startsWith('||')
|| line.trim() === ''
|| isIP(line) !== 0
) {
@@ -98,7 +98,7 @@ async function processFilterRules(filterRulesUrl) {
}
if (line.startsWith('||') && line.endsWith('^$badfilter')) {
const domain = line.replaceAll('||', '').replaceAll('^$badfilter', '').trim();
const domain = line.replace('||', '').replace('^$badfilter', '').trim();
if (rDomain.test(domain)) {
whitelistDomainSets.add(domain);
}

File diff suppressed because it is too large Load Diff

View File

@@ -24,7 +24,7 @@
<main class="container">
<h1>Sukka Surge Ruleset Server</h1>
<p>Made by <a href="https://skk.moe">Sukka</a> | <a href="https://github.com/SukkaW/Surge/">Source @ GitHub</a> | Licensed under <a href="https://github.com/SukkaW/Surge/blob/master/LICENSE" target="_blank">AGPL-3.0</a></p>
<p>Last Updated: 2022-06-09T12:44:47.485Z</p>
<p>Last Updated: 2022-06-10T09:00:57.660Z</p>
<hr>
<br>
<ul>