chore: user agent

This commit is contained in:
hstyi
2025-06-14 16:51:26 +08:00
committed by hstyi
parent 15131fefd1
commit 95bf08b0da

View File

@@ -128,7 +128,7 @@ object Application {
}
fun getUserAgent(): String {
return "${getName()}/${getVersion()}; ${SystemUtils.OS_NAME}/${SystemUtils.OS_VERSION}(${SystemUtils.OS_ARCH}); ${SystemUtils.JAVA_VM_NAME}/${SystemUtils.JAVA_VERSION}"
return "${getName()}/${getVersion()}(${Locale.getDefault()}); ${SystemUtils.OS_NAME}/${SystemUtils.OS_VERSION}(${SystemUtils.OS_ARCH}); ${SystemUtils.JAVA_VM_NAME}/${SystemUtils.JAVA_VERSION}"
}
/**