From c15d0869c657bfb758e004cc5217b261efd74e7f Mon Sep 17 00:00:00 2001 From: "theis.gaedigk" Date: Sat, 2 Aug 2025 02:18:46 +0200 Subject: [PATCH] Update frontend/src/utils/apiFunc.ts --- frontend/src/utils/apiFunc.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(