From 294c12b9ead65fa4acf0957adc6dd2d9f53eae86 Mon Sep 17 00:00:00 2001 From: LukeGus Date: Fri, 31 Oct 2025 16:12:24 -0500 Subject: [PATCH] fix: Mobile reporting wrong user-agent --- src/ui/main-axios.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ui/main-axios.ts b/src/ui/main-axios.ts index 69338f4f..78b5a75b 100644 --- a/src/ui/main-axios.ts +++ b/src/ui/main-axios.ts @@ -199,6 +199,10 @@ function createApiInstance( } } + if (typeof window !== "undefined" && (window as any).ReactNativeWebView) { + config.headers["User-Agent"] = "Termix-Mobile"; + } + return config; });