Skip to content

Commit

Permalink
fix bible api cors issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-hub committed Aug 30, 2023
1 parent aa3c346 commit 49766c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/provider/BaseBibleAPIProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ export abstract class BaseBibleAPIProvider {
try {
const response = await fetch(url, {
method: 'get',
headers: {
'Content-Type': 'application/json',
},
// headers: {
// 'Content-Type': 'application/json',
// }, // some provide does not accept this header
redirect: 'follow', // manual, *follow, error
cache: 'force-cache',
})
Expand Down

0 comments on commit 49766c7

Please sign in to comment.