roomEnter.routers.js 426 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

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

12
13
14
15
16
router.route('/room/entrylog')
    .get(roomEnterCtrl.checklog)
    .post(roomEnterCtrl.uploadlog)
    .put(roomEnterCtrl.updatelog)

17

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