Use CORS because mangadex doesn't send the required headers

This commit is contained in:
Daniel Bulant 2021-05-25 16:16:22 +02:00
parent 29fcf7ad03
commit d25beb6b37

View file

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