Update index.php

This commit is contained in:
SuperDev
2023-01-13 11:09:28 -06:00
committed by GitHub
parent fad79747bd
commit bca44182fb

View File

@@ -67,7 +67,7 @@ return $bytes . ' B';
$plugin_count = count(glob('../../plugins/*', GLOB_ONLYDIR));
// Get version
$releases = json_decode(file_get_contents($github_api_url));
$releases = json_decode(file_get_contents("https://api.github.com/repos/Supernova3339/anonupload/releases/latest"));
$server_version = $releases['tag_name'];