Skip to content

Commit

Permalink
Remove users router
Browse files Browse the repository at this point in the history
  • Loading branch information
rikster-r committed Jan 21, 2023
1 parent 402b2b9 commit 1385127
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
2 changes: 0 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ const bcrypt = require('bcryptjs');
require('dotenv').config();

const indexRouter = require('./routes/index');
const usersRouter = require('./routes/users');

const app = express();

Expand Down Expand Up @@ -79,7 +78,6 @@ app.use((req, res, next) => {
});

app.use('/', indexRouter);
app.use('/users', usersRouter);

// catch 404 and forward to error handler
app.use(function (req, res, next) {
Expand Down
9 changes: 0 additions & 9 deletions routes/users.js

This file was deleted.

0 comments on commit 1385127

Please sign in to comment.