room.route.js 246 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();

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

8
router.route("/join").put(roomCrtl.joinRoom);
Kim, Chaerin's avatar
Kim, Chaerin committed
9
10

export default router;