mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 15:11:58 +01:00
net: use the AppName (platform; version) user agent form
This commit is contained in:
@@ -3,7 +3,7 @@ package com.subtracks
|
||||
import okhttp3.Interceptor
|
||||
|
||||
object UserAgent {
|
||||
val value: String = "subtracks/android (${BuildConfig.VERSION_NAME})"
|
||||
val value: String = "Subtracks (Android; ${BuildConfig.VERSION_NAME})"
|
||||
|
||||
fun interceptor(): Interceptor =
|
||||
Interceptor { chain ->
|
||||
|
||||
Reference in New Issue
Block a user