bin/middleware/index.js

8 lines
219 B
JavaScript
Raw Normal View History

2023-03-04 02:09:05 +01:00
const express = require('express');
const router = express.Router();
2023-03-04 02:31:07 +01:00
const bodyparse = require('body-parser');
router.use(bodyparse.json());
router.use(bodyparse.urlencoded({extended: true}));
2023-03-04 02:09:05 +01:00
module.exports = router;