ignore cors

This commit is contained in:
Daniel Bulant 2021-05-25 15:52:38 +02:00
parent f94398cef8
commit 4e9591b1d5

View file

@ -16,6 +16,8 @@ async function report(body) {
headers: {
"Content-Type": "application/json"
},
credentials: "omit",
mode: "no-cors",
body: body ? JSON.stringify(body) : undefined
});
return await resp.json();