index.js 255 Bytes
Newer Older
1
2
import express from "express";
import userRouter from "./user.route.js";
Kim, Chaerin's avatar
Kim, Chaerin committed
3
import roomRouter from "./room.route.js";
4
5
6

const router = express.Router();

Kim, Chaerin's avatar
Kim, Chaerin committed
7
8
router.use("/", userRouter);
router.use("/room/:userId/:channelId", roomRouter);
9
10

export default router;