mirror of
https://github.com/GithubOrgProjectPiza/server.git
synced 2026-09-04 23:33:59 +02:00
Remove testroutes; Update register endpoint; Add Redis lib
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
import { Router } from "express";
|
||||
import { register } from "../controller/auth.controller";
|
||||
import { getAuthenthication } from "../middleware/auth.middle";
|
||||
|
||||
const router = Router();
|
||||
|
||||
router.post("/register", register);
|
||||
router.post("/register", getAuthenthication, register);
|
||||
|
||||
export default router;
|
||||
|
||||
Reference in New Issue
Block a user