bro.landing/stubs/api/index.js

9 lines
168 B
JavaScript
Raw Normal View History

2024-07-25 22:14:20 +03:00
const router = require('express').Router();
const timer = (time = 300) => (req, res, next) => setTimeout(next, time);
router.use(timer());
module.exports = router;