mirror of
https://gitlab.com/SukkaW/ruleset.skk.moe.git
synced 2026-04-19 18:34:27 +00:00
deploy: c7f8e302df1738f5b44988a9dad763a9b2b4e10c
This commit is contained in:
@@ -7,14 +7,14 @@ exports.dedupe = ({ chunk }) => {
|
||||
const domainFromInput = chunk[i];
|
||||
for (const domainFromFullSet of workerData) {
|
||||
if (domainFromFullSet === domainFromInput) continue;
|
||||
if (domainFromFullSet.charAt(0) !== '.') continue;
|
||||
if (domainFromFullSet.charCodeAt(0) !== 46) continue;
|
||||
// domainFromFullSet is now startsWith a "."
|
||||
|
||||
if (domainFromInput.charAt(0) !== '.') {
|
||||
if (domainFromInput.charCodeAt(0) !== 46) {
|
||||
let shouldBeRemoved = true;
|
||||
|
||||
for (let j = 0, l2 = domainFromInput.length; j < l2; j++) {
|
||||
if (domainFromFullSet.charAt(j + 1) !== domainFromInput.charAt(j)) {
|
||||
if (domainFromFullSet.charCodeAt(j + 1) !== domainFromInput.charCodeAt(j)) {
|
||||
shouldBeRemoved = false;
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -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-08-22T05:02:38.000Z</p>
|
||||
<p>Last Updated: 2022-08-22T05:06:45.371Z</p>
|
||||
<hr>
|
||||
<br>
|
||||
<ul>
|
||||
|
||||
Reference in New Issue
Block a user