frigg: support api4.beardic.cn

This commit is contained in:
Dict Xiong 2024-01-15 20:31:31 +08:00
parent 864456d35d
commit 3d4a264a30

View File

@ -103,6 +103,7 @@ update_dns()
ip4=""
elif [[ "$DFS_DDNS_IP4" == "auto" ]]; then
ip4="auto"
api_url="https://api4.beardic.cn"
elif [[ "$DFS_DDNS_IP4" == "api" ]]; then
ip4=$(curl $DFS_CURL_OPTIONS -sSL "https://api.ipify.org")
elif [[ "$DFS_DDNS_IP4" == "http"* ]]; then