multy-stub/server/routers/todo/index.js

13 lines
222 B
JavaScript
Raw Normal View History

2025-01-18 15:44:14 +03:00
const { Router } = require('express')
const router = Router()
const todoRouter = require('./routes')
const authRouter = require('./auth')
router.use('/auth', authRouter)
2025-01-18 16:50:58 +03:00
router.use(todoRouter)
2025-01-18 15:44:14 +03:00
module.exports = router