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