InternetProgramming/Lab3/node_modules/json-server/lib/server/body-parser.js
2023-12-15 14:42:22 +04:00

9 lines
179 B
JavaScript

"use strict";
const bodyParser = require('body-parser');
module.exports = [bodyParser.json({
limit: '10mb',
extended: false
}), bodyParser.urlencoded({
extended: false
})];