From 5fec070e39832aff1ce0a81ed6ff553bae067007 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A1=B0=EB=8C=80=ED=9D=AC?= <joedaehui@ajou.ac.kr> Date: Fri, 15 Nov 2024 11:22:12 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=8A=A4=EC=BC=80=EC=A4=84=20=EB=9D=BC?= =?UTF-8?q?=EC=9A=B0=ED=84=B0=20=EB=93=B1=EB=A1=9D=20(#6)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app.js b/app.js index fc5ef29..f24843b 100644 --- a/app.js +++ b/app.js @@ -35,6 +35,11 @@ app.use(flash()); const authRoutes = require('./routes/auth'); app.use('/auth', authRoutes); +// Schedule 라우터 +const scheduleRoutes = require('./routes/schedule'); +app.use('/api/schedule', scheduleRoutes); + + const PORT = process.env.PORT || 3000; app.get('/', (req, res) => { -- GitLab