mirror of
https://github.com/hotyue/IP-Sentinel.git
synced 2026-09-06 16:07:31 +08:00
feat(security): 启用 Cloudflare 安全网关,全面重构节点发报链路,彻底消除明文 Token 隐患
This commit is contained in:
+2
-2
@@ -116,8 +116,8 @@ else
|
||||
|
||||
fi
|
||||
|
||||
# 5. 调用 API 推送
|
||||
RESPONSE=$(curl -s -m 10 -X POST "https://api.telegram.org/bot${TG_TOKEN}/sendMessage" \
|
||||
# 5. 调用 API 推送 (接入安全网关)
|
||||
RESPONSE=$(curl -s -m 10 -X POST "${TG_API_URL}" \
|
||||
-d "chat_id=${CHAT_ID}" \
|
||||
-d "text=${MSG}" \
|
||||
-d "parse_mode=Markdown")
|
||||
|
||||
Reference in New Issue
Block a user