diff --git a/config/self-update.php b/config/self-update.php index 0a70313..b31df63 100644 --- a/config/self-update.php +++ b/config/self-update.php @@ -2,13 +2,7 @@ declare(strict_types=1); - -ini_set('user_agent', 'Mozilla/4.0 (compatible; MSIE 6.0)'); -$json = file_get_contents("https://api.github.com/repos/julianprieber/littlelink-custom/releases/latest") ; -$myObj = json_decode($json); -$Vgit = $myObj->tag_name; -$Vlocal = 'v' . file_get_contents(base_path("version.json")); - +$Vgit = file_get_contents("https://julianprieber.github.io/littlelink-custom/version.json"); if ($Vgit > $Vlocal) { $userver = 'https://update.littlelink-custom.com/';