From 6ce6b105c783ec9b0265262bf7688f587af3718d Mon Sep 17 00:00:00 2001 From: Ritesh Ghosh Date: Fri, 4 Oct 2024 12:25:04 +0530 Subject: [PATCH] refactor: rename `WINDOWMS` env to `WINDOW_MS` --- .env.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.example b/.env.example index d09590e..817a534 100644 --- a/.env.example +++ b/.env.example @@ -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