Preparar per build

This commit is contained in:
Pau Figueras 2024-03-11 19:23:50 +01:00
pare e99db155b3
commit 0d000ce4f3
S'han modificat 3 arxius amb 5 adicions i 0 eliminacions

1
src/routes/+layout.ts Normal file
Veure arxiu

@ -0,0 +1 @@
export const prerender = true;

Veure arxiu

@ -1,3 +1,5 @@
export const prerender = false;
const geocodingApiBase: string = "https://geocoding-api.open-meteo.com/v1/search";
const openMeteoApiBase: string = "https://api.open-meteo.com/v1/forecast";
let location: string = "L'Hospitalet de Llobregat";

Veure arxiu

@ -1,3 +1,5 @@
export const prerender = false;
const headers = { 'X-API-KEY': '1FvqqqUpoeNgNpxZQxJX6FBDLbwKscx5hgXhZxUb', 'Content-type': 'application/json' }
const geocodingApiBase: string = "https://geocoding-api.open-meteo.com/v1/search";
const openMeteoApiBase: string = "https://api.open-meteo.com/v1/forecast";