mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-05-08 14:18:40 +00:00
Upping the express bodyPRasrserjson limit to 25mb
This commit is contained in:
@@ -121,6 +121,7 @@ var EditPage = React.createClass({
|
||||
this.setState({
|
||||
isPending : false,
|
||||
isSaving : false,
|
||||
errors : err,
|
||||
lastUpdated : res.body.updatedAt
|
||||
})
|
||||
})
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user