Describe the bug
When I open the app locally through Heroku or Netlify, I get two errors and cannot browse books.
Access to fetch at 'https://black-stories-matter-api.herokuapp.com/api/v1/books' from origin 'https://blackstoriesmatter.herokuapp.com' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'http://localhost:5000' that is not equal to the supplied origin. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
black-stories-matter-api.herokuapp.com/api/v1/books:1 Failed to load resource: net::ERR_FAILED
Describe the bug When I open the app locally through Heroku or Netlify, I get two errors and cannot browse books.
Access to fetch at 'https://black-stories-matter-api.herokuapp.com/api/v1/books' from origin 'https://blackstoriesmatter.herokuapp.com' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'http://localhost:5000' that is not equal to the supplied origin. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
black-stories-matter-api.herokuapp.com/api/v1/books:1 Failed to load resource: net::ERR_FAILED
To Reproduce Steps to reproduce the behavior:
Expected behavior Book data should be retrieved and displayed.![Screen Shot 2020-10-19 at 3 12 58 PM](https://user-images.githubusercontent.com/54958511/96500914-99e1dd80-121d-11eb-9608-d7de49560933.png)
Screenshots Attached
Desktop (please complete the following information):
Smartphone (please complete the following information): Did not attempt
Additional context Two other users can access locally through this link