11 lines
170 B
JavaScript
11 lines
170 B
JavaScript
|
|
||
|
import express from "express";
|
||
|
const router = express.Router();
|
||
|
import { login } from "../controllers/admin.js"
|
||
|
|
||
|
|
||
|
router.post("/login", login);
|
||
|
|
||
|
|
||
|
export default router;
|