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.
bodyParser
1 parent 54bf33d commit b81ab35Copy full SHA for b81ab35
webpack.config.js
@@ -4,6 +4,7 @@ const webpack = require('webpack')
4
5
const packageInfo = require('./package')
6
7
+const bodyParser = require('webpack-body-parser')
8
const chunkUpload = require('./src/utils/chunkUpload')
9
10
process.env.NODE_ENV = process.env.NODE_ENV || 'production'
@@ -187,8 +188,6 @@ module.exports = merge(baseConfig(), {
187
188
res.json({ success: true })
189
}
190
- const bodyParser = require('webpack-body-parser')
191
-
192
// Chunk upload
193
app.post('/upload/chunk', bodyParser.json(), chunkUpload)
194
0 commit comments