Skip to content

Commit

Permalink
Update comick.app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
OshekharO authored Jan 24, 2024
1 parent 385a390 commit c0d51ed
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions repo/comick.app.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// @icon https://comick.app/static/icons/unicorn-256_maskable.png
// @package comick.app
// @type manga
// @webSite https://cors.notesnook.com/https://api.comick.cc
// @webSite https://api.comick.cc
// ==/MiruExtension==

export default class extends Extension {
Expand All @@ -25,7 +25,7 @@ export default class extends Extension {
key: "comick",
type: "input",
description: "COMICK API URL",
defaultValue: "https://cors.notesnook.com/https://api.comick.cc",
defaultValue: "https://api.comick.cc",
});
}

Expand All @@ -43,7 +43,6 @@ export default class extends Extension {
const hid = res.comic.hid;
const epRes = await this.req(`/comic/${hid}/chapters?limit=99999`);

// Reverse the order of chapters to make it ascending
epRes.chapters.reverse();

const chapMap = new Map();
Expand Down

0 comments on commit c0d51ed

Please sign in to comment.