diff --git a/frontend/src/lib/portal.ts b/frontend/src/lib/fetch.ts similarity index 95% rename from frontend/src/lib/portal.ts rename to frontend/src/lib/fetch.ts index 5da5855..3b8c23a 100644 --- a/frontend/src/lib/portal.ts +++ b/frontend/src/lib/fetch.ts @@ -48,8 +48,6 @@ async function loadGzippedJson(url: string): Promise { return json; } -const endpoint = "http://localhost:8081"; -export const gobData = `${endpoint}/datos.gob.ar_data.json`; export async function fetchData(url: string) { const json = await loadGzippedJson(`${url}/data.json.gz`); if (import.meta.env.DEV) console.debug(json);