From 7baa986a30093360ff704ddacf51fcdc1582a759 Mon Sep 17 00:00:00 2001 From: sudoer777 <78781902+sudoer777@users.noreply.github.com> Date: Mon, 22 Nov 2021 13:57:13 -0700 Subject: [PATCH] Add manage route to app.js --- app.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app.js b/app.js index 29f7b4f..6bc76de 100644 --- a/app.js +++ b/app.js @@ -8,6 +8,7 @@ var indexRouter = require('./routes/index'); var usersRouter = require('./routes/users'); var submitRouter = require('./routes/submit'); var dataRouter = require('./routes/data'); +var manageRouter = require('./routes/manage'); var app = express(); @@ -25,6 +26,8 @@ app.use('/', indexRouter); app.use('/users', usersRouter); app.use('/submit', submitRouter); app.use('/data', dataRouter); +app.use('/manage', manageRouter); + // catch 404 and forward to error handler app.use(function(req, res, next) {