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