Skip to content

Commit

Permalink
Update server URL
Browse files Browse the repository at this point in the history
Changed the sever BASE_URL to a server with a recent snapshot.
  • Loading branch information
android-dev-lxl committed Aug 19, 2020
1 parent 77fff5c commit fcea914
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,10 @@ import retrofit2.Retrofit
import retrofit2.converter.moshi.MoshiConverterFactory
import retrofit2.http.GET

// The alternative URL is for a server with a recent snapshot. If you are having problems
// with the given URL (app crashing), use the alternative.
private const val BASE_URL = "https://developers.google.com/community/gdg/groups/"
private const val BASE_URL = "https://android-kotlin-fun-mars-server.appspot.com/"

interface GdgApiService {
@GET("directory.json")
@GET("gdg-directory.json")

fun getChapters():
// The Coroutine Call Adapter allows us to return a Deferred, a Job with a result
Expand Down

0 comments on commit fcea914

Please sign in to comment.