dnsexit2: Remove https:// from update service URL

This allows the `ssl` setting to control TLS vs. plain HTTP, and makes
it possible to create a compatible service that doesn't use TLS (e.g.,
for testing).
This commit is contained in:
Richard Hansen 2024-05-30 16:21:25 -04:00
parent eebb1b8a47
commit 6e5e2ab63f

View file

@ -4190,7 +4190,7 @@ sub nic_dnsexit2_update {
ttl => $config{$h}{'ttl'},
});
};
my $url = "https://$config{$h}{'server'}$config{$h}{'path'}";
my $url = $config{$h}{'server'} . $config{$h}{'path'};
my $reply = geturl(
proxy => opt('proxy'),
url => $url,