# port number of the aniwatch api ANIWATCH_API_PORT=4000 # env to control allowed origins ANIWATCH_API_CORS_ALLOWED_ORIGINS=https://your-production-domain.com,https://another-trusted-domain.com # RATE LIMIT # duration to track requests (in milliseconds) for rate limiting. here, 30*60*1000 = 1800000 = 30 minutes ANIWATCH_API_WINDOW_MS=1800000 # maximum number of requests in this timeperiod ANIWATCH_API_MAX_REQS=70 # CAUTION: # For personal deployments, if you wanna have rate limitting # in your application, then set this env to your deployed # instance's hostname, otherwise don't set or have this env at all. # If you set this env to an incorrect value, you may face other issues. # ANIWATCH_API_HOSTNAME="api-aniwatch.onrender.com" # NOTE: this env is "required" for vercel deployments # ANIWATCH_VERCEL_DEPLOYMENT=