HTML-CSS-JavaScript-projects-for-beginners icon indicating copy to clipboard operation
HTML-CSS-JavaScript-projects-for-beginners copied to clipboard

Recipe Book App- view recipe link has a bug

Open vasanthgx opened this issue 7 months ago • 2 comments

The link 'VIEW RECIPE' has a bug. It leads to an Error.

image

clicking the view recipe links leads to the following errors.

image

image


The Error is due to the recipe object which has two source url keys

  • sourceUrl
  • spoonacularSourceUrl

image

Originally the recipe object was linked to sourceUrl key with the link to www.foodista.com/recipe/... as value. This seems to be not working and is showing up the error as shown above in the screen shot.

But when linked to the spoonacularSourceUr key , the links are rendering properly.

vasanthgx avatar Jul 14 '24 13:07 vasanthgx