diff --git a/arturito/src/components/HomeSection/index.tsx b/arturito/src/components/HomeSection/index.tsx index 1a9e90af..4d2e6a80 100644 --- a/arturito/src/components/HomeSection/index.tsx +++ b/arturito/src/components/HomeSection/index.tsx @@ -9,7 +9,7 @@ const Button = ({ text, href }: { text: string; href: string }) => ( const HomeSection = () => (
¡Elegí una sección!
- +- - https://swapi.it/documentation#starships + + https://swapi.dev/documentation#starships
@@ -53,8 +53,8 @@ const MainContainer = () => { films. Codear en un componente aparte tal como {'- - https://swapi.it/documentation#people + + https://swapi.dev/documentation#people
diff --git a/arturito/src/utils/fetcher.ts b/arturito/src/utils/fetcher.ts index b3e48c08..2611fd35 100644 --- a/arturito/src/utils/fetcher.ts +++ b/arturito/src/utils/fetcher.ts @@ -1,7 +1,7 @@ import axios from 'axios'; // Possible alternative: 'https://swapi.dev/api' -const baseURL = 'https://www.swapi.it/api'; +const baseURL = 'https://swapi.dev/api'; export const swGet = (url: string) => axios.get(url, { baseURL }).then((res) => res.data);