This repository has been archived on 2026-07-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
aniwatch-api/.env.example
T
2024-10-04 12:22:03 +05:30

8 lines
334 B
Bash

DOMAIN="aniwatchtv.to"
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
MAX=70 # maximum number of requests in this timeperiod