import express from 'express' import roomCtrl from '../controllers/room.controller.js' const router = express.Router() router.route('/room/makeRoom') .post(roomCtrl.makeRoom) router.route('/room/changeMem') .put(roomCtrl.changemember) .get(roomCtrl.roomInf) router.route('/room/closedlist') .get(roomCtrl.getClosedList) router.route('/room/openlist') .get(roomCtrl.getOpenList) // router.route('/room/memberId') // .get(roomCtrl.getMemberId) export default router