front/stubs/api/index.js
2024-10-03 22:35:39 +03:00

16 lines
398 B
JavaScript

const changeRouter = require("./change");
const authRouter = require("./auth");
const router = require('express').Router();
const delay = require('./middlewares/delay');
const verify = require('./middlewares/verify');
module.exports = router;
// router.use(delay(300));
// router.use('/books', delay, booksRouter);
router.use('/auth', authRouter);
router.use('/change', verify, changeRouter);