14 lines
303 B
JavaScript
14 lines
303 B
JavaScript
const booksRouter = require("./books");
|
|
const authRouter = require("./auth");
|
|
|
|
const router = require('express').Router();
|
|
|
|
const delay = require('./middlewares/delay');
|
|
|
|
module.exports = router;
|
|
|
|
// router.use(delay(300));
|
|
// router.use('/books', delay, booksRouter);
|
|
|
|
router.use('/auth', authRouter);
|