2024-09-28 12:51:59 +03:00
|
|
|
const booksRouter = require("./books");
|
2024-10-03 21:15:48 +03:00
|
|
|
const authRouter = require("./auth");
|
|
|
|
|
2024-09-07 11:27:38 +03:00
|
|
|
const router = require('express').Router();
|
2024-10-03 21:15:48 +03:00
|
|
|
|
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));
|
2024-10-03 21:15:48 +03:00
|
|
|
// router.use('/books', delay, booksRouter);
|
|
|
|
|
|
|
|
router.use('/auth', authRouter);
|