root 3 năm trước cách đây
mục cha
commit
5264cd4e3f
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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) {