mirror of
https://github.com/sasjs/server.git
synced 2026-01-14 09:20:06 +00:00
feat(express): increase payload max size
This commit is contained in:
@@ -3,7 +3,7 @@ import indexRouter from './routes'
|
|||||||
|
|
||||||
const app = express()
|
const app = express()
|
||||||
|
|
||||||
app.use(express.json())
|
app.use(express.json({ limit: '50mb' }))
|
||||||
|
|
||||||
app.use('/', indexRouter)
|
app.use('/', indexRouter)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user