mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-29 01:51:52 +08:00
Chore: simplify build infra / remove reject_phishing
This commit is contained in:
@@ -83,6 +83,7 @@ function createFetchRetry($fetch: typeof fetch): typeof fetch {
|
||||
} catch (err: unknown) {
|
||||
if (err instanceof Error) {
|
||||
if (err.name === 'AbortError') {
|
||||
console.log('[fetch abort]', url.toString());
|
||||
return bail(err);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user