9 lines
186 B
JavaScript
9 lines
186 B
JavaScript
|
import { Router } from 'express'
|
||
|
import AUTH from './auth.js'
|
||
|
|
||
|
const ROUTES = Router()
|
||
|
|
||
|
ROUTES.get('/', (_, res) => res.send("Welcome!"))
|
||
|
ROUTES.use('/auth', AUTH)
|
||
|
|
||
|
export default ROUTES
|