mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 20:07:33 -07:00
Increase download timeout to 60 sec (#6503)
This commit is contained in:
parent
e33b85e725
commit
35f997c56e
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ export async function downloadUrl(url: string, path: string) {
|
||||||
const controller = new AbortController();
|
const controller = new AbortController();
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
controller.abort();
|
controller.abort();
|
||||||
}, 11 * 1000);
|
}, 60 * 1000);
|
||||||
|
|
||||||
const response = await fetch(new URL(url).href, {
|
const response = await fetch(new URL(url).href, {
|
||||||
headers: {
|
headers: {
|
||||||
|
|
Loading…
Reference in a new issue