Skip to content

Commit 98bc1d0

Browse files
committed
Changed update server
Changed the update server URL to the version.json hosted on GitHub.
1 parent fa4f4f1 commit 98bc1d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/views/layouts/sidebar.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ function URL_exists(string $url): bool
146146
return str_contains(get_headers($url)[0], "200 OK");
147147
}
148148
// Sets $ServerExists to true if URL exists
149-
if (URL_exists("https://littlelink-custom.com/version.json")){
149+
if (URL_exists("https://julianprieber.github.io/littlelink-custom/version.json")){
150150
$ServerExists = "true";
151151
}
152152
} catch (exception $e) {
@@ -158,7 +158,7 @@ function URL_exists(string $url): bool
158158
@if(file_exists(base_path("version.json")) and $ServerExists == 'true')
159159
160160
<?php // Requests newest version from server and sets it as variable
161-
$Vgit = file_get_contents("https://littlelink-custom.com/version.json");
161+
$Vgit = file_get_contents("https://julianprieber.github.io/littlelink-custom/version.json");
162162
163163
// Requests current version from the local version file and sets it as variable
164164
$Vlocal = file_get_contents(base_path("version.json"));

0 commit comments

Comments
 (0)