From 60cf3bb7032af4fac0253f337f941cecef68aca2 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sat, 6 Aug 2022 18:02:10 +0200 Subject: [PATCH] =?UTF-8?q?Oops=20I=20broke=20things=20again=C2=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) {