Merge pull request #1858 from RafaelTaranto/fix/machine-file-uploads
LAM-1300 fix: diagnostics and upload size
This commit is contained in:
commit
c379596b6b
2 changed files with 27 additions and 10 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue