diff --git a/application/controllers/Components.php b/application/controllers/Components.php index 7fc0e27a..94fdd0f9 100644 --- a/application/controllers/Components.php +++ b/application/controllers/Components.php @@ -15,7 +15,7 @@ class Components extends CI_Controller { public function index() { $this->load->model('stations'); - $url = 'https://oscarwatch.org/scripts/hamsat_json.php'; + $url = 'https://hams.at/api/alerts/upcoming'; $json = file_get_contents($url); $data['rovedata'] = json_decode($json, true); $data['gridsquare'] = strtoupper($this->stations->find_gridsquare()); diff --git a/application/views/components/hamsat/table.php b/application/views/components/hamsat/table.php index 80dad90b..0a76fade 100644 --- a/application/views/components/hamsat/table.php +++ b/application/views/components/hamsat/table.php @@ -21,7 +21,7 @@
- +