root преди 3 години
родител
ревизия
5264cd4e3f
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      app.js

+ 2 - 2
app.js

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