mirror of
https://github.com/Skysamara/android-kotlin-fundamentals-apps.git
synced 2025-12-06 06:16:03 +00:00
Fix for app crash, URL updated.
This commit is contained in:
parent
ae7d3ef090
commit
df30c589f0
@ -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():
|
||||
|
||||
@ -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():
|
||||
|
||||
@ -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():
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user