fix: Mobile reporting wrong user-agent

This commit is contained in:
LukeGus
2025-10-31 16:12:24 -05:00
parent da3e99d9db
commit 294c12b9ea

View File

@@ -199,6 +199,10 @@ function createApiInstance(
}
}
if (typeof window !== "undefined" && (window as any).ReactNativeWebView) {
config.headers["User-Agent"] = "Termix-Mobile";
}
return config;
});