mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-08 05:59:00 +08:00
feat: got request timeout
This commit is contained in:
@@ -33,6 +33,7 @@ const custom = got.extend({
|
||||
headers: {
|
||||
'user-agent': config.ua,
|
||||
},
|
||||
timeout: config.requestTimeout,
|
||||
});
|
||||
custom.all = (list) => Promise.all(list);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user