Skip to content

Commit

Permalink
adjust similar to point to raw so release job failure doesnt cause si…
Browse files Browse the repository at this point in the history
…milars to break
  • Loading branch information
nonproto committed Aug 21, 2020
1 parent c3a9697 commit 774d73a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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<NetworkHelper>().client
Expand All @@ -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<ResponseBody>
}

0 comments on commit 774d73a

Please sign in to comment.