1
0
mirror of https://github.com/oceanprotocol-archive/squid-js.git synced 2024-02-02 15:31:51 +01:00

maybe fix cors preflight

This commit is contained in:
Sebastian Gerske 2018-11-16 09:46:42 +01:00
parent 5133751a97
commit 3c23c49827

View File

@ -7,6 +7,7 @@ export default class AquariusConnector {
method: "POST",
body: payload,
headers: {
"Accept": "application/json",
"Content-type": "application/json",
},
})
@ -16,6 +17,7 @@ export default class AquariusConnector {
return this.fetch(url, {
method: "GET",
headers: {
"Accept": "application/json",
"Content-type": "application/json",
},
})
@ -26,6 +28,7 @@ export default class AquariusConnector {
method: "PUT",
body: payload,
headers: {
"Accept": "application/json",
"Content-type": "application/json",
},
})