mirror of
https://github.com/detleph/server.git
synced 2026-09-08 07:56:18 +02:00
Add routes for admin authentication endpoints
+ Add router to the app
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import express from "express";
|
||||
import { authenticateUser } from "../Controllers/admin_auth.controller";
|
||||
|
||||
const router = express.Router();
|
||||
|
||||
router.post("/", authenticateUser);
|
||||
|
||||
export default router;
|
||||
Reference in New Issue
Block a user