Chore: simplify build infra / remove reject_phishing

This commit is contained in:
SukkaW
2023-12-09 23:23:55 +08:00
parent 42e9b4310f
commit 1928c052a9
24 changed files with 259 additions and 332 deletions

View File

@@ -1,13 +0,0 @@
diff --git a/index.js b/index.js
index e5eeb353f6da8968d926cb4e502207912b6c3594..eb1370dc19030404e3def46ce13938d34a9e6214 100644
--- a/index.js
+++ b/index.js
@@ -66,7 +66,7 @@ function setup(fetch) {
return res;
}
} catch (err) {
- if (err.type === 'aborted') {
+ if (err.type === 'aborted' || err.name === 'AbortError') {
return bail(err);
}
const clientError = isClientError(err);