mirror of
https://gitlab.com/nekoya/web.git
synced 2024-11-22 14:26:29 +01:00
Added routing for Register, Login, and Verify-email backend stuff
This commit is contained in:
parent
c4e0e11aa6
commit
9381551dd7
1 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,10 @@
|
|||
const express = require('express')
|
||||
const router = express.Router()
|
||||
var registerlogin = require("./registerlogin");
|
||||
|
||||
router.post("/register", registerlogin.register);
|
||||
router.post("/login", registerlogin.login);
|
||||
router.get("/verify-email", registerlogin.verifyemail);
|
||||
|
||||
router.get('/', (_req, res) => {
|
||||
res.render('pages/index');
|
||||
|
|
Loading…
Reference in a new issue