diff --git a/frontend/src/utils/apiFunc.ts b/frontend/src/utils/apiFunc.ts index 8ae31ba..e93fc69 100644 --- a/frontend/src/utils/apiFunc.ts +++ b/frontend/src/utils/apiFunc.ts @@ -7,7 +7,7 @@ export const fetchWeather = async ( ) => { // Get location data const location = await fetch( - `http://api.openweathermap.org/geo/1.0/direct?q=${city}&appid=${apiKey}` + `https://api.openweathermap.org/geo/1.0/direct?q=${city}&appid=${apiKey}` ).then((response) => { if (response.status === 401) { myToast(