Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelberston committed Nov 19, 2024
1 parent 2aca808 commit 612a1e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const helmet = require('helmet');
const rateLimit = require('express-rate-limit');
const session = require('express-session');

dotenv.config();
dotenv.config(); // remove - unused in container environment

const UsersRouter = require("./routes/usersRouter.js");
const LoginRouter = require("./routes/loginRouter.js");
Expand All @@ -27,7 +27,7 @@ app.get('/', (req, res, next) => {
// Health Check Endpoint
app.get('/health', (req, res) => {
res.status(200).json({ status: 'UP' });
})
});

// Global rate limiter
app.use(rateLimit({
Expand Down

0 comments on commit 612a1e1

Please sign in to comment.