mirror of
https://github.com/Kong/insomnia.git
synced 2026-10-25 16:19:20 -04:00
Bump version and fix user agent
This commit is contained in:
1 parent
da80f36703
commit
e96e663b2c
2 files changed
+2
-2
No files matched your search
@@ -140,7 +140,7 @@ async function _getDefaultParams(): Promise<Array<RequestParameter>> {
|
||||
}
|
||||
|
||||
// Prepping user agent string prior to sending to GA due to Electron base UA not being GA friendly.
|
||||
const ua = String(window.navigator.userAgent)
|
||||
const ua = String(window?.navigator?.userAgent)
|
||||
.replace(new RegExp(`${getAppId()}\\/\\d+\\.\\d+\\.\\d+ `), '')
|
||||
.replace(/Electron\/\d+\.\d+\.\d+ /, '');
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"version": "2020.1.2",
|
||||
"version": "2020.1.3",
|
||||
"name": "insomnia-designer",
|
||||
"executableName": "designer",
|
||||
"appId": "com.insomnia.designer",
|
||||
|
||||
Reference in new issue
Block a user