Remove pregenerated users route

main
sudoer777 2021-11-26 16:17:54 -07:00
parent 6705f06e18
commit 292c4a7039
2 changed files with 0 additions and 11 deletions

2
app.js
View File

@ -11,7 +11,6 @@ var flash = require('connect-flash');
var indexRouter = require('./routes/index'); var indexRouter = require('./routes/index');
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');
@ -49,7 +48,6 @@ app.use(cookieParser());
app.use(express.static(path.join(__dirname, 'public'))); app.use(express.static(path.join(__dirname, 'public')));
app.use('/', indexRouter); app.use('/', indexRouter);
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);

View File

@ -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;