increase file size limit for marketplace to 25 MB

This commit is contained in:
rifting 2024-11-08 17:11:08 -06:00 committed by GitHub
parent 0d1d6e5490
commit 9bc00baa38
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,7 +28,11 @@ await app.register(fastifyCompress, {
encodings: ["br", "gzip", "deflate"] encodings: ["br", "gzip", "deflate"]
}); });
await app.register(fastifyMultipart); await app.register(fastifyMultipart, {
limits: {
fileSize: 25000000,
},
});
await app.register(fastifyHelmet, { await app.register(fastifyHelmet, {
xPoweredBy: false, xPoweredBy: false,