Fix CloudFlare zone ID endpoint URL

Fixes #339
This commit is contained in:
David Mell 2021-06-29 12:44:59 -08:00 committed by GitHub
parent 5ca20a8d2f
commit ed128a0b99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5547,7 +5547,7 @@ sub nic_cloudflare_update {
info("getting Cloudflare Zone ID for %s", $domain);
# Get zone ID
my $url = "https://$config{$key}{'server'}/zones?";
my $url = "https://$config{$key}{'server'}/zones/?";
$url .= "name=" . $config{$key}{'zone'};
my $reply = geturl(proxy => opt('proxy'),