Skip to content

Commit

Permalink
Merge pull request #1 from pixelomer/https-image-url
Browse files Browse the repository at this point in the history
Use HTTPS for imageURL
  • Loading branch information
OgeHub committed Feb 17, 2023
2 parents 4a867a9 + 30bb7e1 commit 304055a
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

1 comment on commit 304055a

@vercel
Copy link

@vercel vercel bot commented on 304055a Feb 17, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

weather-app – ./

weather-app-oge.vercel.app
weather-app-git-main-oge.vercel.app
weather-app-olive-five.vercel.app

Please sign in to comment.