Skip to content

Commit 1c06609

Browse files
fix pokemon api request
1 parent ed32026 commit 1c06609

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/code-splitting/modules/PokemonAPI.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
class Pokemons {
22
async retrieve(id) {
3-
const response = await fetch(`http://pokeapi.co/api/v2/pokemon/${id}/`);
3+
const response = await fetch(`https://pokeapi.co/api/v2/pokemon/${id}/`);
44
return response.json();
55
}
66
}

0 commit comments

Comments
 (0)