diff --git a/backend/src/app.js b/backend/src/app.js index 27f1dd2..d3be2af 100644 --- a/backend/src/app.js +++ b/backend/src/app.js @@ -38,9 +38,11 @@ app.use(helmet({ imgSrc: [ "'self'", "data:", + "https:", "https://maps.googleapis.com", "https://maps.gstatic.com", - "https://openweathermap.org" + "https://openweathermap.org", + "https://*.openweathermap.org" ], connectSrc: ["'self'", "https://api.openweathermap.org"] } diff --git a/frontend/src/pages/Weather/Weather.js b/frontend/src/pages/Weather/Weather.js index d13d282..89cb66c 100644 --- a/frontend/src/pages/Weather/Weather.js +++ b/frontend/src/pages/Weather/Weather.js @@ -93,7 +93,7 @@ const Weather = () => {
{new Date(d.date).toLocaleDateString(undefined, { weekday: 'short' })}
- +
{d.temperatureHigh}° / {d.temperatureLow}°
))}