feat: data-backed rate limits, concurrency limiter, copy button fix (BUG-025, BUG-022)
This commit is contained in:
parent
922230c108
commit
f5a85c6fc3
5 changed files with 222 additions and 17 deletions
|
|
@ -8,7 +8,7 @@ const router = Router();
|
|||
|
||||
const recoverLimiter = rateLimit({
|
||||
windowMs: 60 * 60 * 1000,
|
||||
max: 5,
|
||||
max: 3,
|
||||
message: { error: "Too many recovery attempts. Please try again in 1 hour." },
|
||||
standardHeaders: true,
|
||||
legacyHeaders: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue