From d25beb6b37a2f23bef079c5d3db030e5981fd940 Mon Sep 17 00:00:00 2001 From: Daniel Bulant Date: Tue, 25 May 2021 16:16:22 +0200 Subject: [PATCH] Use CORS because mangadex doesn't send the required headers --- src/util/report.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/util/report.js b/src/util/report.js index bb7f720..4e0e6b9 100644 --- a/src/util/report.js +++ b/src/util/report.js @@ -16,7 +16,6 @@ async function report(body) { "Content-Type": "application/json" }, credentials: "omit", - mode: "no-cors", body: body ? JSON.stringify(body) : undefined }); }