Use https proxy instead of http since we now access an https url

pull/3769/head
Isaac Connor 2023-09-23 12:28:11 -04:00
parent e739b04a97
commit 2a7b8a1dbb
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ if ($check) {
my $ua = LWP::UserAgent->new;
$ua->agent('ZoneMinder Update Agent/'.ZM_VERSION);
if ( $Config{ZM_UPDATE_CHECK_PROXY} ) {
$ua->proxy('http', $Config{ZM_UPDATE_CHECK_PROXY});
$ua->proxy('https', $Config{ZM_UPDATE_CHECK_PROXY});
}
my $req = HTTP::Request->new(GET=>'https://update.zoneminder.com/version.txt');
my $res = $ua->request($req);