From b7923aa741825188c30f3f2a8b2ca2676d354fa0 Mon Sep 17 00:00:00 2001 From: Eric Horstmanshof Date: Wed, 22 Aug 2018 20:48:12 +0200 Subject: [PATCH] Update API URLs to use HTTPS --- Cmfcmf/OpenWeatherMap.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Cmfcmf/OpenWeatherMap.php b/Cmfcmf/OpenWeatherMap.php index b3226ca..500dfa7 100644 --- a/Cmfcmf/OpenWeatherMap.php +++ b/Cmfcmf/OpenWeatherMap.php @@ -41,37 +41,37 @@ class OpenWeatherMap * * @var string $copyright */ - const COPYRIGHT = "Weather data from OpenWeatherMap.org"; + const COPYRIGHT = "Weather data from OpenWeatherMap.org"; /** * @var string The basic api url to fetch weather data from. */ - private $weatherUrl = 'http://api.openweathermap.org/data/2.5/weather?'; + private $weatherUrl = 'https://api.openweathermap.org/data/2.5/weather?'; /** * @var string The basic api url to fetch weather group data from. */ - private $weatherGroupUrl = 'http://api.openweathermap.org/data/2.5/group?'; + private $weatherGroupUrl = 'https://api.openweathermap.org/data/2.5/group?'; /** * @var string The basic api url to fetch weekly forecast data from. */ - private $weatherHourlyForecastUrl = 'http://api.openweathermap.org/data/2.5/forecast?'; + private $weatherHourlyForecastUrl = 'https://api.openweathermap.org/data/2.5/forecast?'; /** * @var string The basic api url to fetch daily forecast data from. */ - private $weatherDailyForecastUrl = 'http://api.openweathermap.org/data/2.5/forecast/daily?'; + private $weatherDailyForecastUrl = 'https://api.openweathermap.org/data/2.5/forecast/daily?'; /** * @var string The basic api url to fetch history weather data from. */ - private $weatherHistoryUrl = 'http://history.openweathermap.org/data/2.5/history/city?'; + private $weatherHistoryUrl = 'https://history.openweathermap.org/data/2.5/history/city?'; /** * @var string The basic api url to fetch uv index data from. */ - private $uvIndexUrl = 'http://api.openweathermap.org/v3/uvi'; + private $uvIndexUrl = 'https://api.openweathermap.org/v3/uvi'; /** * @var AbstractCache|bool $cache The cache to use.