heb12 / heb12-electron

A simple Electron app for reading the Bible
https://heb12.github.io/desktop
GNU General Public License v3.0
10 stars 7 forks source link

Get CORS working for NET Bible link #14

Closed MasterOfTheTiger closed 6 years ago

MasterOfTheTiger commented 6 years ago

We need to figure out how to connect to the NET Bible API via CORS. Heb12 Desktop does fine without it, but the website does not.

In place of the NET scripture is this message: Missing required request header. Must specify one of: origin,x-requested-with

MasterOfTheTiger commented 6 years ago

I am commenting out the code. Please fix it when you can @edxtech

MasterOfTheTiger commented 6 years ago

It is temporally fixed with 7eeea79e3e4c20c5d4ffc693d57defd1cc5b43ba.

ed6767 commented 6 years ago

Sorry for my inactivity. Add header to the request: origin: https://heb12.github.io

MasterOfTheTiger commented 6 years ago

@edxtech How do I do this?

MasterOfTheTiger commented 6 years ago

Well, this does not effect heb12-desktop, so this should be closed.