mirror of
https://github.com/NebulaServices/Nebula.git
synced 2025-05-13 03:50:02 -04:00
increase file size limit for marketplace to 25 MB
This commit is contained in:
parent
0d1d6e5490
commit
9bc00baa38
1 changed files with 5 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue