diff --git a/classes/plugin/Admin.php b/classes/plugin/Admin.php index df1c73588..1cd4fe44f 100644 --- a/classes/plugin/Admin.php +++ b/classes/plugin/Admin.php @@ -1717,7 +1717,9 @@ public function getNotifications($force = false) $timeout = $this->grav['config']->get('system.session.timeout', 1800); if ($force || !$last_checked || empty($notifications) || (time() - $last_checked > $timeout)) { - $body = Response::get('https://getgrav.org/notifications.json?' . time()); + $notificationsUrl = 'https://raw.githubusercontent.com/doda-agency/grav/refs/heads/doda/feed/notifications.' .($this->language ?: $this->grav['language']->getLanguage()) .'.json?' . time(); + $body = Response::get($notificationsUrl); +// $body = Response::get('https://getgrav.org/notifications.json?' . time()); // $body = Response::get('http://localhost/notifications.json?' . time()); $notifications = json_decode($body, true);