11 lines
331 B
JavaScript
11 lines
331 B
JavaScript
import { Router } from 'express'
|
|
import AUTH from './auth.js'
|
|
|
|
const ROUTES = Router()
|
|
|
|
ROUTES.get('/', (_, res) => res.render("pages/landing.njk"))
|
|
ROUTES.get('/login', (_, res) => res.render("pages/login.njk"))
|
|
ROUTES.get('/register', (_, res) => res.render("pages/register.njk"))
|
|
ROUTES.use('/auth', AUTH)
|
|
|
|
export default ROUTES |