diff options
| author | Adam Soltys <[email protected]> | 2024-04-22 22:32:32 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-04-22 22:32:36 -0700 |
| commit | 1c184f2af7c6a11c779b64b936f45f3d4902c199 (patch) | |
| tree | 11d8bac2d8433eaff875a6c864efede1cf861016 /lib/app.js | |
| parent | 0fb1c0363e3f3f87b5fc67b44027a263e269fa25 (diff) | |
| download | coinos-server-1c184f2af7c6a11c779b64b936f45f3d4902c199.tar.gz coinos-server-1c184f2af7c6a11c779b64b936f45f3d4902c199.zip | |
increase max file size
Diffstat (limited to 'lib/app.js')
| -rw-r--r-- | lib/app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"), |
