for cors?

This commit is contained in:
cutls 2021-02-16 22:35:30 +09:00
parent b822eb9cbf
commit fad5f5505f

View File

@ -1113,7 +1113,7 @@ input.addEventListener(
headers: {
'content-type': 'application/json',
},
cors: true
mode: 'cors'
})
.then(function (response) {
if (!response.ok) {