From 774d73a15d0b3dd55fed1a6d0dc8f0871a265375 Mon Sep 17 00:00:00 2001 From: Carlos <2092019+CarlosEsco@users.noreply.github.com> Date: Fri, 21 Aug 2020 09:57:41 -0400 Subject: [PATCH] adjust similar to point to raw so release job failure doesnt cause similars to break --- .../eu/kanade/tachiyomi/data/similar/SimilarHttpService.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/similar/SimilarHttpService.kt b/app/src/main/java/eu/kanade/tachiyomi/data/similar/SimilarHttpService.kt index c6795be713..bc01549506 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/similar/SimilarHttpService.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/similar/SimilarHttpService.kt @@ -29,7 +29,7 @@ interface SimilarHttpService { // actual builder, which will parse the underlying json file val contentType = "application/json".toMediaType() val restAdapter = Retrofit.Builder() - .baseUrl("https://github.com") + .baseUrl("https://raw.githubusercontent.com") .addConverterFactory(Json.asConverterFactory(contentType)) .client( Injekt.get().client @@ -43,6 +43,6 @@ interface SimilarHttpService { } @Streaming - @GET("/goldbattle/MangadexRecomendations/releases/download/v1.0.0/mangas_compressed.json.gz") + @GET("/goldbattle/MangadexRecomendations/master/output/mangas_compressed.json.gz") fun getSimilarResults(): Call }