From 2ecb26ca3cae27885bd12135ae7a2e36ff25edab Mon Sep 17 00:00:00 2001 From: sudoer777 <78781902+sudoer777@users.noreply.github.com> Date: Fri, 26 Nov 2021 15:55:29 -0700 Subject: [PATCH] Remove admin router reference --- app.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/app.js b/app.js index a379166..9082389 100644 --- a/app.js +++ b/app.js @@ -15,7 +15,6 @@ var usersRouter = require('./routes/users'); var dataRouter = require('./routes/data'); var manageRouter = require('./routes/manage'); var authRouter = require('./routes/auth'); -var adminRouter = require('./routes/admin'); var app = express(); @@ -54,7 +53,6 @@ app.use('/users', usersRouter); app.use('/data', dataRouter); app.use('/manage', manageRouter); app.use('/auth', authRouter); -app.use('/admin', adminRouter); // catch 404 and forward to error handler