mirror of
https://github.com/catdevnull/transicion-desordenada-diablo
synced 2024-11-15 10:31:38 +00:00
borrar urls hardcodeadas
This commit is contained in:
parent
9800b16bbc
commit
e0bb1b0ee6
1 changed files with 0 additions and 2 deletions
|
@ -48,8 +48,6 @@ async function loadGzippedJson(url: string): Promise<unknown> {
|
||||||
return json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
||||||
const endpoint = "http://localhost:8081";
|
|
||||||
export const gobData = `${endpoint}/datos.gob.ar_data.json`;
|
|
||||||
export async function fetchData(url: string) {
|
export async function fetchData(url: string) {
|
||||||
const json = await loadGzippedJson(`${url}/data.json.gz`);
|
const json = await loadGzippedJson(`${url}/data.json.gz`);
|
||||||
if (import.meta.env.DEV) console.debug(json);
|
if (import.meta.env.DEV) console.debug(json);
|
Loading…
Reference in a new issue