mirror of
https://github.com/danbulant/Mangades
synced 2026-06-17 13:21:03 +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: {
|
||||
"Content-Type": "application/json"
|
||||
},
|
||||
credentials: "omit",
|
||||
mode: "no-cors",
|
||||
body: body ? JSON.stringify(body) : undefined
|
||||
});
|
||||
return await resp.json();
|
||||
|
|
|
|||
Loading…
Reference in a new issue