Skip to content

Commit fe2dccf

Browse files
authored
fix(demo): use correct URL in fetch (#656)
1 parent 2800642 commit fe2dccf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/rpg-creature-search-app/public/script.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const getCreature = async () => {
1818
try {
1919
const creatureNameOrId = searchInput.value.toLowerCase();
2020
const response = await fetch(
21-
`https://rpg-creatures-api.freecodecamp.rocks/api/creature/${creatureNameOrId}`
21+
`https://rpg-creature-api.freecodecamp.rocks/api/creature/${creatureNameOrId}`
2222
);
2323
const data = await response.json();
2424

0 commit comments

Comments
 (0)