Skip to content

Commit

Permalink
Avoid CORS errors from eqtl table requests.
Browse files Browse the repository at this point in the history
  Do no send preflight requests for GET endpoints.
  • Loading branch information
grosscol committed Jan 21, 2025
1 parent 159a994 commit 0a756f7
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bravue",
"version": "0.18.0",
"version": "0.18.1",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
Expand Down
1 change: 0 additions & 1 deletion src/components/table/EqtlCondTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,6 @@ export default {
headers: {
"Content-type": "application/json; charset=utf-8",
},
credentials: "include"
},
ajaxContentType: "json",
ajaxRequesting: () => {
Expand Down
1 change: 0 additions & 1 deletion src/components/table/EqtlTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ export default {
headers: {
"Content-type": "application/json; charset=utf-8",
},
credentials: "include"
},
ajaxContentType: "json",
ajaxRequesting: () => {
Expand Down

0 comments on commit 0a756f7

Please sign in to comment.