diff --git a/packages/cli/src/utils/server/index.js b/packages/cli/src/utils/server/index.js index bc9290e..afa4a76 100644 --- a/packages/cli/src/utils/server/index.js +++ b/packages/cli/src/utils/server/index.js @@ -3,7 +3,7 @@ const bodyParser = require('body-parser'); const createServer = (port = 3500) => { const app = express(); - app.use(bodyParser.json()); + app.use(bodyParser.json({ limit: '50mb' })); app.use(bodyParser.urlencoded({ extended: false })); app.use((req, res, next) => { res.header('Access-Control-Allow-Origin', '*');