Remove admin router reference
parent
fb414ab9d8
commit
2ecb26ca3c
2
app.js
2
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
|
||||
|
|
Reference in New Issue