1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-12 23:45:57 +00:00

Upping the express bodyPRasrserjson limit to 25mb

This commit is contained in:
Scott Tolksdorf
2016-05-19 08:21:26 -04:00
parent 6209fcd5cb
commit e7f1083edb
2 changed files with 2 additions and 1 deletions

View File

@@ -6,7 +6,7 @@ var bodyParser = require('body-parser')
var express = require("express");
var app = express();
app.use(express.static(__dirname + '/build'));
app.use(bodyParser.json());
app.use(bodyParser.json({limit: '25mb'}));
//Mongoose
var mongoose = require('mongoose');