diff --git a/index.php b/index.php index 56ebc1a..e2fd7e1 100644 --- a/index.php +++ b/index.php @@ -9,8 +9,8 @@ if (!file_exists("locales/".$user_locale.".json")) { $user_locale = 'en'; } $locale=json_decode(file_get_contents("locales/".$user_locale.".json"), true); // Parse the apps list -$apps_list_json=file_get_contents("https://app.yunohost.org/default/v2/apps.json"); -$apps_list=json_decode($apps_list_json, true); +$apps_list_json=file_get_contents("http://app.yunohost.org/default/v2/apps.json"); +$apps_list=json_decode($apps_list_json, true)["apps"]; // Check if the app is the apps list if(array_key_exists($app, $apps_list)) {