From 292c4a703943b25b368fa02ac492c814f7e5e37e Mon Sep 17 00:00:00 2001 From: sudoer777 <78781902+sudoer777@users.noreply.github.com> Date: Fri, 26 Nov 2021 16:17:54 -0700 Subject: [PATCH] Remove pregenerated users route --- app.js | 2 -- routes/users.js | 9 --------- 2 files changed, 11 deletions(-) delete mode 100644 routes/users.js diff --git a/app.js b/app.js index 9082389..4065b14 100644 --- a/app.js +++ b/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); diff --git a/routes/users.js b/routes/users.js deleted file mode 100644 index 623e430..0000000 --- a/routes/users.js +++ /dev/null @@ -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;