mainimg.route.ts 280 Bytes
Newer Older
백승민's avatar
백승민 committed
1
2
3
4
5
6
7
8
9
10
11
import express from "express";
import { mainimgCtrl, authCtrl } from "../controllers";

const router = express.Router();

router
  .route("/")
  .get(authCtrl.requireLogin, mainimgCtrl.getMainimg)
  .post(authCtrl.requireLogin, mainimgCtrl.createMainimg);

export default router;