diff --git a/datahub.class.php b/datahub.class.php index cd107dd..28c535f 100644 --- a/datahub.class.php +++ b/datahub.class.php @@ -14,7 +14,7 @@ public static function get_weekly_data(string $key): array public static function get_stations_data(string $key, bool $min_station_only): array { - $url = 'https://github.com/VATGER-Nav/datahub/blob/main/legacy/schedule.json'; + $url = 'https://raw.githubusercontent.com/VATGER-Nav/datahub/main/legacy/schedule.json'; $data = self::get_json($url, 'datahub-legacy-schedule.json'); $result = []; foreach ($data as $element) {