mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-21 17:37:29 -07:00
[backend] Limit fetched JSON-LD context size to 1MB
This commit is contained in:
parent
62d9c743a5
commit
d9d6dc1b60
1 changed files with 1 additions and 0 deletions
|
@ -126,6 +126,7 @@ export class LdSignature {
|
|||
headers: {
|
||||
Accept: "application/ld+json, application/json",
|
||||
},
|
||||
size: 1024 * 1024, // 1MiB
|
||||
// TODO
|
||||
//timeout: this.loderTimeout,
|
||||
agent: (u) => (u.protocol === "http:" ? httpAgent : httpsAgent),
|
||||
|
|
Loading…
Reference in a new issue