refactor: rename WINDOWMS env to WINDOW_MS

This commit is contained in:
Ritesh Ghosh
2024-10-04 12:25:04 +05:30
parent 21a8718f87
commit 6ce6b105c7
+1 -1
View File
@@ -3,5 +3,5 @@ PORT=4000
CORS_ALLOWED_ORIGINS=https://your-production-domain.com,https://another-trusted-domain.com
# RATE LIMIT
WINDOWMS=1800000 # duration to track requests (in milliseconds) for rate limiting. here, 30*60*1000 = 1800000 = 30 minutes
WINDOW_MS=1800000 # duration to track requests (in milliseconds) for rate limiting. here, 30*60*1000 = 1800000 = 30 minutes
MAX=70 # maximum number of requests in this timeperiod