roomEnter.routers.js 370 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
13
14

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

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

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