mirror of
https://github.com/danbulant/Mangades
synced 2026-06-18 13:51:05 +00:00
implement download reporting
This commit is contained in:
parent
a4954b6177
commit
f7103b3c87
1 changed files with 2 additions and 1 deletions
|
|
@ -10,7 +10,8 @@ export const base = "https://api.mangadex.network/";
|
|||
* @param {boolean} body.cached
|
||||
*/
|
||||
async function report(body) {
|
||||
return;
|
||||
// return console.log("Should report", body);
|
||||
if(body.url.includes("uploads.mangadex.org")) return;
|
||||
await fetch(base + "report", {
|
||||
method: "POST",
|
||||
headers: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue