[fix] match the UA style with sing-box-for-apple

This commit is contained in:
k3-cat 2024-04-22 01:32:46 +10:00
parent 49c784e037
commit 27c84942d1
No known key found for this signature in database
GPG key ID: 0F182AF868678A60

View file

@ -10,7 +10,7 @@ class HTTPClient : Closeable {
val userAgent by lazy {
var userAgent = "SFA/"
userAgent += BuildConfig.VERSION_NAME
userAgent += " ("
userAgent += " (Build "
userAgent += BuildConfig.VERSION_CODE
userAgent += "; sing-box "
userAgent += Libbox.version()