Update Cloudflare zone ID query
The zone ID query was executed without a trailing slash, resulting in an un-handled 301.
This commit is contained in:
parent
02c983a991
commit
54d2d5e36f
1 changed files with 1 additions and 1 deletions
2
ddclient
2
ddclient
|
|
@ -4262,7 +4262,7 @@ sub nic_cloudflare_update {
|
||||||
verbose("UPDATE:","updating %s", $domain);
|
verbose("UPDATE:","updating %s", $domain);
|
||||||
|
|
||||||
# Get zone ID
|
# Get zone ID
|
||||||
my $url = "https://$config{$key}{'server'}/zones?";
|
my $url = "https://$config{$key}{'server'}/zones/?";
|
||||||
$url .= "name=".$config{$key}{'zone'};
|
$url .= "name=".$config{$key}{'zone'};
|
||||||
|
|
||||||
my $reply = geturl(opt('proxy'), $url, undef, undef, $headers);
|
my $reply = geturl(opt('proxy'), $url, undef, undef, $headers);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue