fix: user-agent format (#27488)

* fix: user-agent format

* ci: fix static analysis

---------

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
Jason Rasmussen
2026-04-03 12:26:50 -04:00
committed by GitHub
parent 4fcd9c2e0d
commit 207672c481
5 changed files with 42 additions and 9 deletions
@@ -53,7 +53,7 @@ import javax.net.ssl.TrustManagerFactory
import javax.net.ssl.X509KeyManager
import javax.net.ssl.X509TrustManager
const val USER_AGENT = "Immich_Android_${BuildConfig.VERSION_NAME}"
const val USER_AGENT = "immich-android/${BuildConfig.VERSION_NAME}"
private const val CERT_ALIAS = "client_cert"
private const val PREFS_NAME = "immich.ssl"
private const val PREFS_CERT_ALIAS = "immich.client_cert"