From 6a3b1861bf85cdc23ed27b907975250904c1e0a1 Mon Sep 17 00:00:00 2001 From: Jake Kasper Date: Tue, 2 Sep 2025 08:40:25 -0500 Subject: [PATCH] weather icons again --- backend/src/app.js | 4 +++- frontend/src/pages/Weather/Weather.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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}°
))}