update maps path
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
<script lang="ts">
|
||||
// Minimal page: no geolocation/state UI, just an embedded Open-Meteo map.
|
||||
// const iframeSrc = 'https://maps.open-meteo.com/';
|
||||
const iframeSrc =
|
||||
'https://allow-cross-origin-loads.maps-5aj.pages.dev/?time=2026-02-21T1400#1.31/0/-0.1';
|
||||
const iframeSrc = 'https://maps.open-meteo.com';
|
||||
</script>
|
||||
|
||||
<svelte:head>
|
||||
|
||||
@@ -39,7 +39,7 @@ export const getColor = (temperature: number, unit = 'celsius'): string => {
|
||||
temperature = Math.round(((temperature - 32) * 5) / 9);
|
||||
}
|
||||
|
||||
let index = 0;
|
||||
let index: number;
|
||||
if (temperature <= -40) {
|
||||
index = 0;
|
||||
} else if (temperature >= 60) {
|
||||
|
||||
Reference in New Issue
Block a user