Merge pull request #1120 from ZoneMinder/zmupdate-url
Update version check URL
This commit is contained in:
commit
de3e7784d5
|
@ -170,7 +170,7 @@ if ( $check && $Config{ZM_CHECK_FOR_UPDATES} )
|
||||||
if ( $Config{ZM_UPDATE_CHECK_PROXY} ) {
|
if ( $Config{ZM_UPDATE_CHECK_PROXY} ) {
|
||||||
$ua->proxy( "http", $Config{ZM_UPDATE_CHECK_PROXY} );
|
$ua->proxy( "http", $Config{ZM_UPDATE_CHECK_PROXY} );
|
||||||
}
|
}
|
||||||
my $req = HTTP::Request->new( GET=>'http://zoneminder.github.io/ZoneMinder/version.txt' );
|
my $req = HTTP::Request->new( GET=>'https://update.zoneminder.com/version.txt' );
|
||||||
my $res = $ua->request($req);
|
my $res = $ua->request($req);
|
||||||
|
|
||||||
if ( $res->is_success )
|
if ( $res->is_success )
|
||||||
|
|
Loading…
Reference in New Issue