Skip to content

Commit

Permalink
Use https proxy instead of http since we now access an https url
Browse files Browse the repository at this point in the history
  • Loading branch information
Isaac Connor committed Sep 23, 2023
1 parent e739b04 commit 2a7b8a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/zmupdate.pl.in
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2a7b8a1

Please sign in to comment.