diff --git a/weather-cal.php b/weather-cal.php index 1b22e05..a4cd3c7 100644 --- a/weather-cal.php +++ b/weather-cal.php @@ -32,9 +32,9 @@ // Loading json if (isset($zip)) { - $string = file_get_contents("http://api.openweathermap.org/data/2.5/forecast/daily?zip=" . $zip . "," . $country_code . "&units=" . $units . "&cnt=16&appid=" . $appkey); + $string = file_get_contents("https://api.openweathermap.org/data/2.5/forecast/daily?zip=" . $zip . "," . $country_code . "&units=" . $units . "&cnt=16&appid=" . $appkey); } else { - $string = file_get_contents("http://api.openweathermap.org/data/2.5/forecast/daily?q=" . $city . "&units=" . $units . "&cnt=16&appid=" . $appkey); + $string = file_get_contents("https://api.openweathermap.org/data/2.5/forecast/daily?q=" . $city . "&units=" . $units . "&cnt=16&appid=" . $appkey); } $json = json_decode($string, true); @@ -126,7 +126,7 @@ function displayTemp($temp, $display) { ' ?> X-MICROSOFT-CDO-ALLDAYEVENT:TRUE -URL;VALUE=URI:http://www.vejnoe.dk +URL;VALUE=URI:https://www.vejnoe.dk DTEND;VALUE=DATE: X-APPLE-TRAVEL-ADVISORY-BEHAVIOR:AUTOMATIC @@ -136,4 +136,4 @@ function displayTemp($temp, $display) { -END:VCALENDAR \ No newline at end of file +END:VCALENDAR