auth.routes.js 251 Bytes
Newer Older
이재연's avatar
이재연 committed
1
2
3
4
5
import express from "express";
import authCtrl from '../controllers/auth.controller.js';

const router = express.Router()

이재연's avatar
이재연 committed
6
router.route('/login')
이재연's avatar
이재연 committed
7
    .post(authCtrl.login)
이재연's avatar
이재연 committed
8
9
10
11

// router.route('/logout')
//     .get(authCtrl.logout)

이재연's avatar
이재연 committed
12
export default router