From 8ad882b92c9a9ca25f9832d6e57b0b0985102d88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9C=A0=ED=98=84=EB=AA=85?= Date: Thu, 26 May 2022 23:17:21 +0900 Subject: [PATCH] [UPDATE] BASE_URL --- .../main/java/com/dms/pmsandroid/data/remote/PotatoChipApi.kt | 2 +- .../main/java/com/dms/pmsandroid/data/remote/SmoothBearApi.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/dms/pmsandroid/data/remote/PotatoChipApi.kt b/app/src/main/java/com/dms/pmsandroid/data/remote/PotatoChipApi.kt index 69c5561f..90147a62 100644 --- a/app/src/main/java/com/dms/pmsandroid/data/remote/PotatoChipApi.kt +++ b/app/src/main/java/com/dms/pmsandroid/data/remote/PotatoChipApi.kt @@ -8,7 +8,7 @@ import retrofit2.converter.gson.GsonConverterFactory class PotatoChipApi(okHttpClient: OkHttpClient, authInterceptor: AuthInterceptor) { val retrofit: Retrofit = Retrofit.Builder().apply { - baseUrl("https://api.potatochips.live") + baseUrl("http://3.39.33.109:8080") client(okHttpClient.apply { newBuilder().addInterceptor(authInterceptor) }) diff --git a/app/src/main/java/com/dms/pmsandroid/data/remote/SmoothBearApi.kt b/app/src/main/java/com/dms/pmsandroid/data/remote/SmoothBearApi.kt index 27d485e5..9efbfe4f 100644 --- a/app/src/main/java/com/dms/pmsandroid/data/remote/SmoothBearApi.kt +++ b/app/src/main/java/com/dms/pmsandroid/data/remote/SmoothBearApi.kt @@ -7,7 +7,7 @@ import retrofit2.converter.gson.GsonConverterFactory class SmoothBearApi(okHttpClient: OkHttpClient) { val retrofit: Retrofit = Retrofit.Builder().apply { - baseUrl("https://api.smoothbear.me") + baseUrl("http://3.39.33.109:8080") client(okHttpClient) addCallAdapterFactory(RxJava3CallAdapterFactory.create()) addConverterFactory(GsonConverterFactory.create())