Skip to content

Commit

Permalink
Merge pull request google-developer-training#29 from google-developer…
Browse files Browse the repository at this point in the history
…-training/GDGFinderServer

Update server URL
  • Loading branch information
android-dev-lxl committed Aug 19, 2020
2 parents 77fff5c + fcea914 commit cf306dc
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 cf306dc

Please sign in to comment.