mirror of
https://github.com/SukkaW/Surge.git
synced 2026-02-02 03:51:53 +08:00
Chore: read request stream line by line
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// @ts-check
|
||||
const { fetch } = require('undici');
|
||||
const fetchWithRetry = require('@vercel/fetch-retry')(fetch);
|
||||
const fetchWithRetry = /** @type {fetch} */(require('@vercel/fetch-retry')(fetch));
|
||||
module.exports.fetchWithRetry = fetchWithRetry;
|
||||
|
||||
Reference in New Issue
Block a user