for no-cors?

This commit is contained in:
cutls 2021-02-16 22:38:21 +09:00
parent fad5f5505f
commit 1ee47045ed

View File

@ -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) {