Strengthen Phishing Score Calculation

This commit is contained in:
SukkaW
2025-12-10 13:48:30 +08:00
parent 525a0948c9
commit be2262e51b
3 changed files with 11 additions and 8 deletions

View File

@@ -26,12 +26,10 @@ export async function fetchAssets(
try {
await waitWithAbort(1800 + (index + 1) * 1200, controller.signal);
} catch {
console.log(picocolors.gray('[fetch cancelled early]'), picocolors.gray(url));
throw reusedCustomAbortError;
}
}
if (controller.signal.aborted) {
console.log(picocolors.gray('[fetch cancelled]'), picocolors.gray(url));
throw reusedCustomAbortError;
}
if (index >= 0) {