From 95bf08b0dab2d077d94892bd0d5287838aa53b26 Mon Sep 17 00:00:00 2001 From: hstyi Date: Sat, 14 Jun 2025 16:51:26 +0800 Subject: [PATCH] chore: user agent --- src/main/kotlin/app/termora/Application.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/app/termora/Application.kt b/src/main/kotlin/app/termora/Application.kt index 7b543c2..bc83bbe 100644 --- a/src/main/kotlin/app/termora/Application.kt +++ b/src/main/kotlin/app/termora/Application.kt @@ -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}" } /**