12 lines
221 B
JavaScript
12 lines
221 B
JavaScript
const { Router } = require('express')
|
|
|
|
const router = Router()
|
|
|
|
const todoRouter = require('./routes')
|
|
const authRouter = require('./auth')
|
|
|
|
router.use(todoRouter)
|
|
router.use('/auth', authRouter)
|
|
|
|
module.exports = router
|