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

const router = express.Router()

router.route('/room/enterRoom')
    .post(roomEnterCtrl.roomEnter)
8
9
10
11
12

router.route('/room/getChatInfo')
    .get(roomEnterCtrl.getChatInfo)


Soo Hyun Kim's avatar
Soo Hyun Kim committed
13
export default router