mirror of
https://github.com/danbulant/Mangades
synced 2026-07-05 19:10:58 +00:00
ignore cors
This commit is contained in:
parent
f94398cef8
commit
4e9591b1d5
1 changed files with 2 additions and 0 deletions
|
|
@ -16,6 +16,8 @@ async function report(body) {
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json"
|
"Content-Type": "application/json"
|
||||||
},
|
},
|
||||||
|
credentials: "omit",
|
||||||
|
mode: "no-cors",
|
||||||
body: body ? JSON.stringify(body) : undefined
|
body: body ? JSON.stringify(body) : undefined
|
||||||
});
|
});
|
||||||
return await resp.json();
|
return await resp.json();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue