diff --git a/index.html b/index.html index 5996784..bc9e447 100644 --- a/index.html +++ b/index.html @@ -1021,11 +1021,7 @@ async function fetchWeatherFromYr(latitude, longitude) { try { const url = `https://api.met.no/weatherapi/nowcast/2.0/complete?lat=${latitude}&lon=${longitude}`; - const response = await fetch(url, { - headers: { - 'User-Agent': 'WebClock/1.0 (Educational Project)' - } - }); + const response = await fetch(url); if (!response.ok) { throw new Error(`Weather API error: ${response.status}`);