Remove admin router reference

main
sudoer777 2021-11-26 15:55:29 -07:00
parent fb414ab9d8
commit 2ecb26ca3c
1 changed files with 0 additions and 2 deletions

2
app.js
View File

@ -15,7 +15,6 @@ var usersRouter = require('./routes/users');
var dataRouter = require('./routes/data'); var dataRouter = require('./routes/data');
var manageRouter = require('./routes/manage'); var manageRouter = require('./routes/manage');
var authRouter = require('./routes/auth'); var authRouter = require('./routes/auth');
var adminRouter = require('./routes/admin');
var app = express(); var app = express();
@ -54,7 +53,6 @@ app.use('/users', usersRouter);
app.use('/data', dataRouter); app.use('/data', dataRouter);
app.use('/manage', manageRouter); app.use('/manage', manageRouter);
app.use('/auth', authRouter); app.use('/auth', authRouter);
app.use('/admin', adminRouter);
// catch 404 and forward to error handler // catch 404 and forward to error handler