room.routers.js 269 Bytes
Newer Older
Soo Hyun Kim's avatar
Soo Hyun Kim committed
1
2
3
4
5
6
7
import express from 'express'
import roomCtrl from '../controllers/room.controller.js'

const router = express.Router()

router.route('/room/makeRoom')
    .post(roomCtrl.makeRoom)
Choi Ga Young's avatar
Choi Ga Young committed
8
9
10

router.route('/room/closedlist')
    .get(roomCtrl.getClosedList)
Soo Hyun Kim's avatar
Soo Hyun Kim committed
11
export default router