mirror of
https://github.com/SukkaW/Surge.git
synced 2026-02-02 20:11:54 +08:00
Chore: add fetch retry support
This commit is contained in:
3
Build/lib/fetch-retry.js
Normal file
3
Build/lib/fetch-retry.js
Normal file
@@ -0,0 +1,3 @@
|
||||
const { fetch } = require('undici');
|
||||
const fetchWithRetry = require('@vercel/fetch-retry')(fetch);
|
||||
module.exports.fetchWithRetry = fetchWithRetry;
|
||||
Reference in New Issue
Block a user