mirror of
https://gitlab.com/SukkaW/ruleset.skk.moe.git
synced 2026-04-18 17:54:26 +00:00
deploy: d195e90338bd5d4395f13b64a59637305d2a11d9
This commit is contained in:
@@ -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
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user