mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
Bump version and fix user agent
This commit is contained in:
parent
da80f36703
commit
e96e663b2c
@ -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.
|
// 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(new RegExp(`${getAppId()}\\/\\d+\\.\\d+\\.\\d+ `), '')
|
||||||
.replace(/Electron\/\d+\.\d+\.\d+ /, '');
|
.replace(/Electron\/\d+\.\d+\.\d+ /, '');
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"version": "2020.1.2",
|
"version": "2020.1.3",
|
||||||
"name": "insomnia-designer",
|
"name": "insomnia-designer",
|
||||||
"executableName": "designer",
|
"executableName": "designer",
|
||||||
"appId": "com.insomnia.designer",
|
"appId": "com.insomnia.designer",
|
||||||
|
Loading…
Reference in New Issue
Block a user