.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
PORT
基本配置
PASSWORD
secret
ADMINPASSWORD
secret
DEBUG
CORS_ORIGIN
CORS 配置
REQUEST_TIMEOUT
请求配置
MAX_RETRIES
USER_AGENT
CACHE_MAX_AGE
缓存配置
BLOCKED_HOSTS
安全配置
BLOCKED_IP_PREFIXES
FILTERED_HEADERS
brew install flyctl && fly launch --from https://github.com/521xueweihan/libretv
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/521xueweihan/libretv
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/521xueweihan/libretv