We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b1664b commit 81bfb7aCopy full SHA for 81bfb7a
src/app.js
@@ -11,7 +11,7 @@ const app = express()
11
if(process.env.NODE_ENV !== 'production')
12
app.use(logger('dev'))
13
14
-app.use(express.json())
+app.use(express.json({limit: '10mb'}))
15
app.use(express.urlencoded({ extended: false }))
16
app.use(cors())
17
app.use(compression())
0 commit comments