diff options
| author | Ritesh Ghosh <[email protected]> | 2024-10-04 12:25:04 +0530 |
|---|---|---|
| committer | Ritesh Ghosh <[email protected]> | 2024-10-04 12:25:04 +0530 |
| commit | 6ce6b105c783ec9b0265262bf7688f587af3718d (patch) | |
| tree | eb980295e10d70983f04a71ff9fe5a67c7591054 /.env.example | |
| parent | 21a8718f87d7409d61970139e39c2bb0c6cfe91c (diff) | |
| download | aniwatch-api-6ce6b105c783ec9b0265262bf7688f587af3718d.tar.xz aniwatch-api-6ce6b105c783ec9b0265262bf7688f587af3718d.zip | |
refactor: rename `WINDOWMS` env to `WINDOW_MS`
Diffstat (limited to '.env.example')
| -rw-r--r-- | .env.example | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
