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