10 lines
209 B
TypeScript

import { Router } from 'express'
import { authRouter } from './v1/auth'
import { bannerRouter } from './v1/banner'
export const router = Router()
router.use(bannerRouter)
router.use('/v1/auth', authRouter)