fix: diagnostics and upload size

This commit is contained in:
Rafael Taranto 2025-05-20 09:36:02 +01:00
parent 7f6f301008
commit 118e27ff32
2 changed files with 27 additions and 10 deletions

View file

@ -55,7 +55,7 @@ const loadRoutes = async () => {
app.use(compression({ threshold: 500 }))
app.use(helmet())
app.use(nocache())
app.use(express.json({ limit: '2mb' }))
app.use(express.json({ limit: '25mb' }))
morgan.token('bytesRead', (_req, res) => res.bytesRead)
morgan.token('bytesWritten', (_req, res) => res.bytesWritten)