From a0fb25484615851c8ba677f56e65d451e3faac41 Mon Sep 17 00:00:00 2001 From: Loic Coenen Date: Fri, 31 Oct 2025 15:24:48 +0100 Subject: [PATCH] chore: fix weather api --- src/hooks/useWeatherApi.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useWeatherApi.tsx b/src/hooks/useWeatherApi.tsx index 9978813..b934e7d 100644 --- a/src/hooks/useWeatherApi.tsx +++ b/src/hooks/useWeatherApi.tsx @@ -2,7 +2,7 @@ import { useEffect, type Dispatch } from "react" import { actions, type Action, type State } from "../state" import type {WeatherData} from "../types/weather"; -const weatherApiUrl = `http://api.weatherapi.com/v1/current.json?key=176d6e98c8894466aa6205455253010&q=Nivelles&aqi=no`; +const weatherApiUrl = `https://api.weatherapi.com/v1/current.json?key=176d6e98c8894466aa6205455253010&q=Nivelles&aqi=no`; export type UseWeatherApiProps = { dispatch: Dispatch,