without cors

This commit is contained in:
cutls 2021-02-16 22:41:45 +09:00
parent 1ee47045ed
commit 4a5fb81170

View File

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