Remove submit router from app.js
parent
9f2572336f
commit
7c5c059e09
2
app.js
2
app.js
|
@ -6,7 +6,6 @@ var logger = require('morgan');
|
||||||
|
|
||||||
var indexRouter = require('./routes/index');
|
var indexRouter = require('./routes/index');
|
||||||
var usersRouter = require('./routes/users');
|
var usersRouter = require('./routes/users');
|
||||||
var submitRouter = require('./routes/submit');
|
|
||||||
var dataRouter = require('./routes/data');
|
var dataRouter = require('./routes/data');
|
||||||
var manageRouter = require('./routes/manage');
|
var manageRouter = require('./routes/manage');
|
||||||
|
|
||||||
|
@ -24,7 +23,6 @@ app.use(express.static(path.join(__dirname, 'public')));
|
||||||
|
|
||||||
app.use('/', indexRouter);
|
app.use('/', indexRouter);
|
||||||
app.use('/users', usersRouter);
|
app.use('/users', usersRouter);
|
||||||
app.use('/submit', submitRouter);
|
|
||||||
app.use('/data', dataRouter);
|
app.use('/data', dataRouter);
|
||||||
app.use('/manage', manageRouter);
|
app.use('/manage', manageRouter);
|
||||||
|
|
||||||
|
|
Reference in New Issue