diff --git a/app/src/main/java/com/chochitos/inspirehep_citations/InspireHEPApiService.kt b/app/src/main/java/com/chochitos/inspirehep_citations/InspireHEPApiService.kt index 5630ce4..51f11d2 100644 --- a/app/src/main/java/com/chochitos/inspirehep_citations/InspireHEPApiService.kt +++ b/app/src/main/java/com/chochitos/inspirehep_citations/InspireHEPApiService.kt @@ -25,7 +25,7 @@ interface InspireHEPApiService { val retrofit = Retrofit.Builder() .addCallAdapterFactory(RxJava2CallAdapterFactory.create()) .addConverterFactory(GsonConverterFactory.create()) - .baseUrl("http://inspirehep.net/") + .baseUrl("http://old.inspirehep.net/") .build() return retrofit.create(InspireHEPApiService::class.java) @@ -60,4 +60,4 @@ fun inspireSearch(service: InspireHEPApiService, searchString: String, formatIns { error -> Log.wtf("mi",error.message) } ) -} \ No newline at end of file +}