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 0de70929..27d485e5 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.smooth-bear.live") + baseUrl("https://api.smoothbear.me") client(okHttpClient) addCallAdapterFactory(RxJava3CallAdapterFactory.create()) addConverterFactory(GsonConverterFactory.create()) diff --git a/app/src/main/java/com/dms/pmsandroid/di/module/NetworkModule.kt b/app/src/main/java/com/dms/pmsandroid/di/module/NetworkModule.kt index b52c97e9..654d0c6b 100644 --- a/app/src/main/java/com/dms/pmsandroid/di/module/NetworkModule.kt +++ b/app/src/main/java/com/dms/pmsandroid/di/module/NetworkModule.kt @@ -1,6 +1,5 @@ package com.dms.pmsandroid.di.module -import android.text.format.Time import android.util.Log import com.dms.pmsandroid.BuildConfig import com.dms.pmsandroid.data.interceptor.AuthInterceptor @@ -10,9 +9,6 @@ import io.reactivex.rxjava3.plugins.RxJavaPlugins import okhttp3.OkHttpClient import okhttp3.logging.HttpLoggingInterceptor import org.koin.dsl.module -import retrofit2.Retrofit -import retrofit2.adapter.rxjava3.RxJava3CallAdapterFactory -import retrofit2.converter.gson.GsonConverterFactory import rxdogtag2.RxDogTag import java.util.concurrent.TimeUnit