2024-09-28 12:51:59 +03:00
|
|
|
const booksRouter = require("./books");
|
2024-09-07 11:27:38 +03:00
|
|
|
const router = require('express').Router();
|
2024-09-28 12:51:59 +03:00
|
|
|
const delay = require('./middlewares/delay');
|
2024-09-07 11:27:38 +03:00
|
|
|
|
|
|
|
module.exports = router;
|
2024-09-28 12:51:59 +03:00
|
|
|
|
|
|
|
// router.use(delay(300));
|
|
|
|
router.use('/books', delay, booksRouter);
|