Skip to content

Commit

Permalink
Fixed cors issue
Browse files Browse the repository at this point in the history
  • Loading branch information
elrumo committed Oct 22, 2024
1 parent 4818898 commit 3c0a720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ export default createStore({
'Content-Type': 'application/json',
'Accept': 'application/json',
},
credentials: 'include', // This is fine as we've properly configured CORS on the server
credentials: 'include',
body: JSON.stringify({
searchOptions,
query: searchQuery
Expand Down

0 comments on commit 3c0a720

Please sign in to comment.