CI/CD and more sensible authentication limiting

This commit is contained in:
2026-03-21 21:03:18 +00:00
parent b367c7d1fc
commit d52c2269fb
2 changed files with 20 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
import rateLimit from 'express-rate-limit';
export const authRateLimiter = rateLimit({
windowMs: 15 * 60 * 1000, // 15 minutes
windowMs: 60 * 1000, // 1 minute
max: 20,
standardHeaders: true,
legacyHeaders: false,