Skip to content

Commit

Permalink
Fix: misc/fetch - getJson limt 256kB
Browse files Browse the repository at this point in the history
  • Loading branch information
fs5m8 committed Dec 25, 2022
1 parent 755fab1 commit 9a5ced7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/misc/fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ export async function getJson(url: string, accept = 'application/json, */*', tim
'User-Agent': config.userAgent,
Accept: accept
}, headers || {}),
timeout
timeout,
size: 1024 * 256,
});

return await res.json();
Expand Down

0 comments on commit 9a5ced7

Please sign in to comment.