qwik-account-manager/routes/routes.js

11 lines
331 B
JavaScript
Raw Normal View History

2022-01-15 19:27:18 +01:00
import { Router } from 'express'
import AUTH from './auth.js'
const ROUTES = Router()
2022-01-15 20:40:41 +01:00
ROUTES.get('/', (_, res) => res.render("pages/landing.njk"))
2022-01-22 21:32:14 +01:00
ROUTES.get('/login', (_, res) => res.render("pages/login.njk"))
ROUTES.get('/register', (_, res) => res.render("pages/register.njk"))
2022-01-15 19:27:18 +01:00
ROUTES.use('/auth', AUTH)
export default ROUTES