theAndrewCline / bible-phrasing

react app for bible study
MIT License
1 stars 2 forks source link

Fetch Failing #1

Closed theAndrewCline closed 5 years ago

theAndrewCline commented 5 years ago

Hey @jsbarrett what am I doing wrong here?

fetch is failing due to a header issue.

jsbarrett commented 5 years ago

What file / line should I be looking at?

also ... your README says to create a .env file But what is the environment variable supposed to be called?


And I see you're missing a space in your fetch header in your actions.ts (fetchVerse line 35) There's supposed to be a space between the word "Token" and your actual api token I don't think it's a cors issue I think it's probably just the missing space

theAndrewCline commented 5 years ago

Ahh.. yes, I will add the to the read me. I named that var ESV_API_TOKEN.

theAndrewCline commented 5 years ago

I added the space, and I'm still getting the same issue. @jsbarrett

theAndrewCline commented 5 years ago

fixed inside of this commit 4ed5f04