diff options
author | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2018-03-21 19:17:56 +0100 |
---|---|---|
committer | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2018-03-21 19:17:56 +0100 |
commit | 1381ea5275092dd5e0c40c7aa403cc669910ca13 (patch) | |
tree | 53a1a4d12a83d6a7e2cb645252b1536885528c0c | |
parent | 5a5c9eb8f0bfedbc96a8e82f765d686267f5d5ce (diff) |
Access weather API via HTTPS
-rw-r--r-- | weather-widget/weather.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weather-widget/weather.lua b/weather-widget/weather.lua index c8b1358..463c785 100644 --- a/weather-widget/weather.lua +++ b/weather-widget/weather.lua @@ -97,7 +97,7 @@ local weather_timer = timer({ timeout = 60 }) local resp weather_timer:connect_signal("timeout", function () - local resp_json = http.request("http://api.openweathermap.org/data/2.5/weather?q=" .. city .."&appid=" .. open_map_key) + local resp_json = http.request("https://api.openweathermap.org/data/2.5/weather?q=" .. city .."&appid=" .. open_map_key) if (resp_json ~= nil) then resp = json.decode(resp_json) icon_widget.image = path_to_icons .. icon_map[resp.weather[1].icon] |