diff --git a/frontend/src/components/Climate.jsx b/frontend/src/components/Climate.jsx index 3f4f6834..8e55916c 100644 --- a/frontend/src/components/Climate.jsx +++ b/frontend/src/components/Climate.jsx @@ -23,7 +23,7 @@ const url = { currentWeather: (lat, lon) => `https://api.openweathermap.org/data/2.5/weather?lat=${lat}&lon=${lon}`, airPollution: (lat, lon) => - `http://api.openweathermap.org/data/2.5/air_pollution?lat=${lat}&lon=${lon}`, + `https://api.openweathermap.org/data/2.5/air_pollution?lat=${lat}&lon=${lon}`, forecast: (lat, lon) => `https://api.openweathermap.org/data/2.5/forecast?lat=${lat}&lon=${lon}`, geo: query => `https://api.openweathermap.org/data/2.5/weather?q=${query}`, @@ -141,7 +141,7 @@ const Climate = () => {