summaryrefslogtreecommitdiff
path: root/weather-widget
diff options
context:
space:
mode:
Diffstat (limited to 'weather-widget')
-rw-r--r--weather-widget/weather.lua2
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]