This commit is contained in:
Nicolas Raoul 2025-08-29 23:05:51 +09:00 committed by GitHub
parent 7dd9185171
commit 72198b42f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,7 +42,7 @@ object OkHttpConnectionFactory {
.readTimeout(120, TimeUnit.SECONDS) .readTimeout(120, TimeUnit.SECONDS)
.addInterceptor(HttpLoggingInterceptor().apply { .addInterceptor(HttpLoggingInterceptor().apply {
if (BuildConfig.DEBUG) { if (BuildConfig.DEBUG) {
setLevel(HttpLoggingInterceptor.Level.BODY) setLevel(HttpLoggingInterceptor.Level.HEADERS)
} else { } else {
setLevel(HttpLoggingInterceptor.Level.BASIC) setLevel(HttpLoggingInterceptor.Level.BASIC)
redactHeader("Authorization") redactHeader("Authorization")