update UI version check via AutoUpdate class in Froxlor.checkUpdate()

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-05-26 13:14:43 +02:00
parent ac143b2bbf
commit 282e6f4cd7
2 changed files with 40 additions and 64 deletions

View File

@@ -33,7 +33,7 @@ use Froxlor\Http\HttpClient;
class AutoUpdate
{
// define update-uri
const UPDATE_URI = "https://version.froxlor.org/froxlor/api2/";
const UPDATE_URI = "https://version.froxlor.org/froxlor/api/v2/";
const RELEASE_URI = "https://autoupdate.froxlor.org/froxlor-{version}.zip";
const CHECKSUM_URI = "https://autoupdate.froxlor.org/froxlor-{version}.zip.sha256";