for cors?
This commit is contained in:
parent
b822eb9cbf
commit
fad5f5505f
|
@ -1113,7 +1113,7 @@ input.addEventListener(
|
||||||
headers: {
|
headers: {
|
||||||
'content-type': 'application/json',
|
'content-type': 'application/json',
|
||||||
},
|
},
|
||||||
cors: true
|
mode: 'cors'
|
||||||
})
|
})
|
||||||
.then(function (response) {
|
.then(function (response) {
|
||||||
if (!response.ok) {
|
if (!response.ok) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user