Skip to content

Commit

Permalink
refactor: rename WINDOWMS env to WINDOW_MS
Browse files Browse the repository at this point in the history
  • Loading branch information
ghoshRitesh12 committed Oct 4, 2024
1 parent 21a8718 commit 6ce6b10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6ce6b10

Please sign in to comment.