From 93f7054aa28789b5d8479619e856bc07cc6f1c5c Mon Sep 17 00:00:00 2001 From: MikeZeDev Date: Mon, 15 Jan 2024 11:38:11 +0000 Subject: [PATCH] FIx MangaHub: change API & CDN domains (#6683) Fixes https://github.com/manga-download/hakuneko/issues/6682 Websites based on MH has been tested too :) --- src/web/mjs/connectors/MangaHub.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/web/mjs/connectors/MangaHub.mjs b/src/web/mjs/connectors/MangaHub.mjs index 7067870aae5..263a31b2864 100644 --- a/src/web/mjs/connectors/MangaHub.mjs +++ b/src/web/mjs/connectors/MangaHub.mjs @@ -11,8 +11,8 @@ export default class MangaHub extends Connector { super.label = 'MangaHub'; this.tags = [ 'manga', 'english' ]; this.url = 'https://mangahub.io'; - this.apiURL = 'https://api.mghubcdn.com/graphql'; - this.cdnURL = 'https://img.mghubcdn.com/file/imghub/'; + this.apiURL = 'https://api2.mangahub.io/graphql'; + this.cdnURL = 'https://imgx.mangahub.io/'; this.path = 'm01'; this.requestOptions.headers.set('x-origin', this.url);