front/stubs/api/index.js
Nikolai Petukhov a9b683797b auth with api
2024-10-03 21:15:48 +03:00

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);