mirror of
https://github.com/DictXiong/dotfiles.git
synced 2024-11-24 11:27:00 +08:00
frigg: support api4.beardic.cn
This commit is contained in:
parent
864456d35d
commit
3d4a264a30
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user