Readd chucker to network
This commit is contained in:
parent
4230afecaa
commit
5fca25b490
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
|||
package eu.kanade.tachiyomi.network
|
||||
|
||||
import android.content.Context
|
||||
import com.chuckerteam.chucker.api.ChuckerInterceptor
|
||||
import okhttp3.Cache
|
||||
import okhttp3.OkHttpClient
|
||||
import java.io.File
|
||||
|
@ -16,7 +17,7 @@ class NetworkHelper(context: Context) {
|
|||
val client = OkHttpClient.Builder()
|
||||
.cookieJar(cookieManager)
|
||||
.cache(Cache(cacheDir, cacheSize))
|
||||
// .addInterceptor(ChuckerInterceptor(context))
|
||||
.addInterceptor(ChuckerInterceptor(context))
|
||||
.build()
|
||||
|
||||
val cloudflareClient = client.newBuilder()
|
||||
|
|
Reference in a new issue