Skip to content

Commit 1b127b9

Browse files
committed
fix: Update favicon to FlowOps icon, increase rate limit in dev mode
1 parent dff01a3 commit 1b127b9

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

backend/middleware/rateLimit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const rateLimit = require('express-rate-limit');
33
// Rate limiter for authentication routes (stricter)
44
const authLimiter = rateLimit({
55
windowMs: 15 * 60 * 1000, // 15 minutes
6-
max: 5, // 5 attempts per window
6+
max: process.env.NODE_ENV === 'development' ? 50 : 5, // More lenient in dev
77
message: {
88
success: false,
99
message: 'Too many login attempts. Please try again after 15 minutes.'

frontend/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
5+
<link rel="icon" type="image/svg+xml" href="/flowops.svg" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
77
<title>FlowOps</title>
88
</head>

frontend/public/flowops.svg

Lines changed: 10 additions & 0 deletions
Loading

frontend/public/vite.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)