Files
abot/admin/dashboard/config.toml

25 lines
1.0 KiB
TOML
Raw 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.
[server]
host = "0.0.0.0"
port = 8888
[auth]
username = "admin"
# 公开仓库不再提供弱默认密码:
# 1. 新部署环境首次启动时会自动把这里的账号信息播种到后台管理员表;
# 2. 若你的数据库里已经存在管理员账号,则后续以数据库中的真实密码为准;
# 3. 正式环境建议继续通过环境变量覆盖,而不是长期使用仓库示例值。
password = "ChangeThisPassword_2026!"
[trendradar_webhook]
# 是否启用 TrendRadar webhook 适配接口
enabled = false
# 固定 token建议配置支持请求头 X-Webhook-Token / query token / payload.token 三种传法。
# 仓库中的值仅为占位示例,正式环境请改成你自己的随机长 token。
token = "please_change_this_token"
# 默认推送目标群(可配置多个)
default_group_ids = []
# 是否允许 payload 覆盖目标群(开启后可通过 target_group_ids/group_id 指定)
allow_payload_target_groups = false
# 单群发送超时(秒)
send_timeout_seconds = 20