From 5ebc024d4a01abe51d58e70de28cedde4b76c69c Mon Sep 17 00:00:00 2001 From: beerpsi <92439990+beerpiss@users.noreply.github.com> Date: Fri, 16 Feb 2024 21:36:08 +0700 Subject: [PATCH] MangaHub: Update API URL (#1294) --- lib-multisrc/mangahub/build.gradle.kts | 2 +- .../src/eu/kanade/tachiyomi/multisrc/mangahub/MangaHub.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib-multisrc/mangahub/build.gradle.kts b/lib-multisrc/mangahub/build.gradle.kts index 26929e603..7863375ef 100644 --- a/lib-multisrc/mangahub/build.gradle.kts +++ b/lib-multisrc/mangahub/build.gradle.kts @@ -2,7 +2,7 @@ plugins { id("lib-multisrc") } -baseVersionCode = 27 +baseVersionCode = 28 dependencies { api(project(":lib:randomua")) diff --git a/lib-multisrc/mangahub/src/eu/kanade/tachiyomi/multisrc/mangahub/MangaHub.kt b/lib-multisrc/mangahub/src/eu/kanade/tachiyomi/multisrc/mangahub/MangaHub.kt index 5f14d3479..4109da1b3 100644 --- a/lib-multisrc/mangahub/src/eu/kanade/tachiyomi/multisrc/mangahub/MangaHub.kt +++ b/lib-multisrc/mangahub/src/eu/kanade/tachiyomi/multisrc/mangahub/MangaHub.kt @@ -47,7 +47,7 @@ abstract class MangaHub( override val supportsLatest = true - private var baseApiUrl = "$baseUrl/api" + private var baseApiUrl = "https://api.mghcdn.com" private var baseCdnUrl = "https://imgx.mghcdn.com" override val client: OkHttpClient = super.client.newBuilder()