Fix for app crash, URL updated.

This commit is contained in:
Jhansi 2020-01-14 12:09:16 -08:00
parent ae7d3ef090
commit df30c589f0
3 changed files with 3 additions and 9 deletions

View File

@ -26,11 +26,9 @@ 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://android-kotlin-fun-mars-server.appspot.com/"
private const val BASE_URL = "https://developers.google.com/community/gdg/directory/"
private const val BASE_URL = "https://developers.google.com/community/gdg/groups/"
interface GdgApiService {
//@GET("gdg-directory.json")
@GET("directory.json")
fun getChapters():

View File

@ -26,11 +26,9 @@ 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://android-kotlin-fun-mars-server.appspot.com/"
private const val BASE_URL = "https://developers.google.com/community/gdg/directory/"
private const val BASE_URL = "https://developers.google.com/community/gdg/groups/"
interface GdgApiService {
//@GET("gdg-directory.json")
@GET("directory.json")
fun getChapters():

View File

@ -26,11 +26,9 @@ 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://android-kotlin-fun-mars-server.appspot.com/"
private const val BASE_URL = "https://developers.google.com/community/gdg/directory/"
private const val BASE_URL = "https://developers.google.com/community/gdg/groups/"
interface GdgApiService {
//@GET("gdg-directory.json")
@GET("directory.json")
fun getChapters():