Files
DailyHotApi/.env.example

33 lines
482 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 服务端口
PORT=6688
# 允许的域名
ALLOWED_DOMAIN="*"
# 允许的主域名,填写格式为 imsyy.top
## 若填写该项,将忽略 ALLOWED_DOMAIN
ALLOWED_HOST=""
# ROBOT
DISALLOW_ROBOT=true
# Redis
REDIS_HOST="127.0.0.1"
REDIS_PORT=6379
REDIS_PASSWORD=""
REDIS_DB=0
# 缓存时长( 秒
CACHE_TTL=3600
# 请求超时( 毫秒
REQUEST_TIMEOUT=6000
# 是否输出日志
USE_LOG_FILE=true
# RSS Mode
RSS_MODE=false
# Weibo
FILTER_WEIBO_ADVERTISEMENT=false