mirror of
https://github.com/LibreSpark/LibreTV.git
synced 2026-05-06 22:02:33 +08:00
21 lines
496 B
Plaintext
21 lines
496 B
Plaintext
# 基本配置
|
|
PORT=8080
|
|
PASSWORD=111111
|
|
DEBUG=false
|
|
|
|
# CORS 配置
|
|
CORS_ORIGIN=*
|
|
|
|
# 请求配置
|
|
REQUEST_TIMEOUT=5000
|
|
MAX_RETRIES=2
|
|
USER_AGENT=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36
|
|
|
|
# 缓存配置
|
|
CACHE_MAX_AGE=1d
|
|
|
|
# 安全配置
|
|
BLOCKED_HOSTS=localhost,127.0.0.1,0.0.0.0,::1
|
|
BLOCKED_IP_PREFIXES=192.168.,10.,172.
|
|
FILTERED_HEADERS=content-security-policy,cookie,set-cookie,x-frame-options,access-control-allow-origin
|