Skip to content

Commit ab2cb26

Browse files
authored
Merge pull request wesbos#154 from Asjas/recipe-puppy-api
update API URL for recipe puppy api
2 parents 7745c86 + 4fb2bf2 commit ab2cb26

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

exercises/75 - CORS and Recipes/scripts-FINISHED.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const baseEndpoint = 'http://www.recipepuppy.com/api';
1+
const baseEndpoint = 'https://recipes.beginnerjavascript.com/api';
22
const proxy = `https://cors-anywhere.herokuapp.com/`;
33
const form = document.querySelector('form.search');
44
const recipesGrid = document.querySelector('.recipes');
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// The Recipe Puppy API used in the course is broken
2+
// Please use this replacement API URL "https://recipes.beginnerjavascript.com/api"

0 commit comments

Comments
 (0)