From 30bb7e104f82c012a4add04ed982aece123a3aa9 Mon Sep 17 00:00:00 2001 From: pixelomer <37103802+pixelomer@users.noreply.github.com> Date: Fri, 17 Feb 2023 19:08:17 +0300 Subject: [PATCH] Use HTTPS for imageURL --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 7d90d50..26c7923 100644 --- a/app.js +++ b/app.js @@ -30,7 +30,7 @@ app.post("/weather", (req,res) => { temperature = weatherData.main.temp; weatherDescription = weatherData.weather[0].description; weatherImage = weatherData.weather[0].icon; - imageURL = "http://openweathermap.org/img/wn/" + weatherImage + "@2x.png"; + imageURL = "https://openweathermap.org/img/wn/" + weatherImage + "@2x.png"; weatherHumidity = weatherData.main.humidity; res.render("result", {