Remove pregenerated users route
parent
6705f06e18
commit
292c4a7039
2
app.js
2
app.js
|
@ -11,7 +11,6 @@ var flash = require('connect-flash');
|
|||
|
||||
|
||||
var indexRouter = require('./routes/index');
|
||||
var usersRouter = require('./routes/users');
|
||||
var dataRouter = require('./routes/data');
|
||||
var manageRouter = require('./routes/manage');
|
||||
var authRouter = require('./routes/auth');
|
||||
|
@ -49,7 +48,6 @@ app.use(cookieParser());
|
|||
app.use(express.static(path.join(__dirname, 'public')));
|
||||
|
||||
app.use('/', indexRouter);
|
||||
app.use('/users', usersRouter);
|
||||
app.use('/data', dataRouter);
|
||||
app.use('/manage', manageRouter);
|
||||
app.use('/auth', authRouter);
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
var express = require('express');
|
||||
var router = express.Router();
|
||||
|
||||
/* GET users listing. */
|
||||
router.get('/', function(req, res, next) {
|
||||
res.send('respond with a resource');
|
||||
});
|
||||
|
||||
module.exports = router;
|
Reference in New Issue