diff --git a/Components/js/Curso/index.js b/Components/js/Curso/index.js index b2cb4a4..512fdb7 100644 --- a/Components/js/Curso/index.js +++ b/Components/js/Curso/index.js @@ -1,5 +1,5 @@ import { Curso } from "./curso.js"; -const url = "../../../components/base/cursos.json"; +const url = "/Components/base/cursos.json"; fetch(url, { method: "GET" }) .then((_response) => _response.json()) .then((_data) => { diff --git a/Components/ts/Curso/index.ts b/Components/ts/Curso/index.ts index 1451d45..281281b 100644 --- a/Components/ts/Curso/index.ts +++ b/Components/ts/Curso/index.ts @@ -1,6 +1,6 @@ import { Curso } from "./curso.js"; -const url = "../../../components/base/cursos.json"; +const url = "/Components/base/cursos.json"; fetch(url, {method: "GET"}) .then((_response) => _response.json())