Skip to content

Commit

Permalink
Use HTTPS for imageURL
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelomer committed Feb 17, 2023
1 parent 4a867a9 commit 30bb7e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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", {
Expand Down

0 comments on commit 30bb7e1

Please sign in to comment.