Skip to content

Commit

Permalink
[MODIFY] api module
Browse files Browse the repository at this point in the history
  • Loading branch information
JaewonKim04 committed Dec 9, 2021
1 parent 22d420e commit 17a7dcc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

Expand Down

0 comments on commit 17a7dcc

Please sign in to comment.