aboutsummaryrefslogtreecommitdiffstats
path: root/lib/app.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-04-22 22:32:32 -0700
committerAdam Soltys <[email protected]>2024-04-22 22:32:36 -0700
commit1c184f2af7c6a11c779b64b936f45f3d4902c199 (patch)
tree11d8bac2d8433eaff875a6c864efede1cf861016 /lib/app.js
parent0fb1c0363e3f3f87b5fc67b44027a263e269fa25 (diff)
downloadcoinos-server-1c184f2af7c6a11c779b64b936f45f3d4902c199.tar.gz
coinos-server-1c184f2af7c6a11c779b64b936f45f3d4902c199.zip
increase max file size
Diffstat (limited to 'lib/app.js')
-rw-r--r--lib/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/app.js b/lib/app.js
index 5019cda3..fee3b8b6 100644
--- a/lib/app.js
+++ b/lib/app.js
@@ -35,7 +35,7 @@ app.register(fastifyPassport.secureSession());
fastifyPassport.use("jwt", jwtStrategy);
-app.register(fastifyMultipart);
+ app.register(fastifyMultipart, { limits: { fileSize: 10 ** 7}});
app.register(fastifyStatic, {
root: path.join("/app/data/uploads"),