From e0bb1b0ee62f2908b75b45733b85a98d581b01c2 Mon Sep 17 00:00:00 2001 From: Nulo Date: Fri, 8 Dec 2023 16:07:32 -0300 Subject: [PATCH] borrar urls hardcodeadas --- frontend/src/lib/{portal.ts => fetch.ts} | 2 -- 1 file changed, 2 deletions(-) rename frontend/src/lib/{portal.ts => fetch.ts} (95%) 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);