Add manage route to app.js

main
sudoer777 2021-11-22 13:57:13 -07:00
parent a6e8e924e4
commit 7baa986a30
1 changed files with 3 additions and 0 deletions

3
app.js
View File

@ -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) {