Merge pull request #1858 from RafaelTaranto/fix/machine-file-uploads

LAM-1300 fix: diagnostics and upload size
This commit is contained in:
Rafael Taranto 2025-05-20 12:16:29 +01:00 committed by GitHub
commit c379596b6b
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)