Don't pass false
query value for enableCI
`?enableCI=false` in the main window URL is treated as truthy value so don't pass it at all.
This commit is contained in:
parent
84f4e6ac64
commit
05ea4a4ff8
2 changed files with 7 additions and 5 deletions
2
main.js
2
main.js
|
@ -224,7 +224,7 @@ function prepareURL(pathSegments, moreKeys) {
|
|||
cdnUrl2: config.get('cdn').get('2'),
|
||||
certificateAuthority: config.get('certificateAuthority'),
|
||||
environment: enableCI ? 'production' : config.environment,
|
||||
enableCI,
|
||||
enableCI: enableCI ? true : undefined,
|
||||
node_version: process.versions.node,
|
||||
hostname: os.hostname(),
|
||||
appInstance: process.env.NODE_APP_INSTANCE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue