Preparar per build
This commit is contained in:
pare
e99db155b3
commit
0d000ce4f3
S'han modificat 3 arxius amb 5 adicions i 0 eliminacions
1
src/routes/+layout.ts
Normal file
1
src/routes/+layout.ts
Normal file
|
@ -0,0 +1 @@
|
||||||
|
export const prerender = true;
|
|
@ -1,3 +1,5 @@
|
||||||
|
export const prerender = false;
|
||||||
|
|
||||||
const geocodingApiBase: string = "https://geocoding-api.open-meteo.com/v1/search";
|
const geocodingApiBase: string = "https://geocoding-api.open-meteo.com/v1/search";
|
||||||
const openMeteoApiBase: string = "https://api.open-meteo.com/v1/forecast";
|
const openMeteoApiBase: string = "https://api.open-meteo.com/v1/forecast";
|
||||||
let location: string = "L'Hospitalet de Llobregat";
|
let location: string = "L'Hospitalet de Llobregat";
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
export const prerender = false;
|
||||||
|
|
||||||
const headers = { 'X-API-KEY': '1FvqqqUpoeNgNpxZQxJX6FBDLbwKscx5hgXhZxUb', 'Content-type': 'application/json' }
|
const headers = { 'X-API-KEY': '1FvqqqUpoeNgNpxZQxJX6FBDLbwKscx5hgXhZxUb', 'Content-type': 'application/json' }
|
||||||
const geocodingApiBase: string = "https://geocoding-api.open-meteo.com/v1/search";
|
const geocodingApiBase: string = "https://geocoding-api.open-meteo.com/v1/search";
|
||||||
const openMeteoApiBase: string = "https://api.open-meteo.com/v1/forecast";
|
const openMeteoApiBase: string = "https://api.open-meteo.com/v1/forecast";
|
||||||
|
|
Loading…
Referencia en una nova incidència