This commit is contained in:
Primakov Alexandr Alexandrovich
2024-10-22 21:29:29 +03:00
commit 2971f2b90d
17 changed files with 11047 additions and 0 deletions

8
stubs/api/index.js Normal file
View File

@@ -0,0 +1,8 @@
const router = require('express').Router();
const timer = (time = 300) => (req, res, next) => setTimeout(next, time);
router.use(timer());
module.exports = router;