room.route.js 253 Bytes
Newer Older
Kim, Chaerin's avatar
Kim, Chaerin committed
1
2
3
4
5
import express from "express";
import roomCrtl from "../controllers/room.controller.js";

const router = express.Router();

우지원's avatar
e    
우지원 committed
6
7
8
9
10
router.route("/create")
    .post(roomCrtl.createRoom)

router.route("/join")
    .put(roomCrtl.joinRoom)
Kim, Chaerin's avatar
Kim, Chaerin committed
11

우지원's avatar
0716    
우지원 committed
12
export default router;