mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-15 05:17:03 +05:30
android: use remote URL from API class
This commit is contained in:
parent
3418606e09
commit
b924460bda
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ object ApiModule {
|
||||||
): Retrofit {
|
): Retrofit {
|
||||||
return Retrofit.Builder()
|
return Retrofit.Builder()
|
||||||
.client(client.get())
|
.client(client.get())
|
||||||
.baseUrl("https://lobste.rs/")
|
.baseUrl(LobstersApi.BASE_URL)
|
||||||
.addConverterFactory(MoshiConverterFactory.create(moshi.get()))
|
.addConverterFactory(MoshiConverterFactory.create(moshi.get()))
|
||||||
.build()
|
.build()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue