|
@@ -12,8 +12,8 @@ var port = "5005"; // set our port
|
|
app.use(morgan('dev'));
|
|
app.use(morgan('dev'));
|
|
// configure app to use bodyParser()
|
|
// configure app to use bodyParser()
|
|
// this will let us get the data from a POST
|
|
// this will let us get the data from a POST
|
|
-app.use(bodyParser.urlencoded({ extended: true, limit: '100mb' }));
|
|
|
|
-app.use(bodyParser.json({ limit: '100mb' }));
|
|
|
|
|
|
+app.use(bodyParser.urlencoded({ extended: true, limit: '50mb' }));
|
|
|
|
+app.use(bodyParser.json({ limit: '50mb' }));
|
|
|
|
|
|
//暂时全跨域
|
|
//暂时全跨域
|
|
app.use(function (req, res, next) {
|
|
app.use(function (req, res, next) {
|