refactor: rename WINDOWMS env to WINDOW_MS
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user