2024-10-16 11:06:23 +03:00
|
|
|
const authRouter = require('./auth')
|
|
|
|
const adminRouter = require('./admin')
|
|
|
|
const rootRouter = require('./root')
|
2024-10-12 13:04:51 +03:00
|
|
|
|
2024-10-16 11:06:23 +03:00
|
|
|
const router = require('express').Router()
|
2024-10-12 13:04:51 +03:00
|
|
|
|
2024-10-16 11:06:23 +03:00
|
|
|
module.exports = router
|
2024-10-12 13:04:51 +03:00
|
|
|
|
2024-10-16 11:06:23 +03:00
|
|
|
router.use(`/auth`, authRouter)
|
|
|
|
router.use(`/admin`, adminRouter)
|
|
|
|
router.use(`/`, rootRouter)
|