mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-21 18:26:32 +00:00
Use https url for fetching config, avoid redirection
Changelog-entry: Use https url for fetching config, avoid redirection Change-type: patch
This commit is contained in:
parent
e80106d8f8
commit
6386f85258
@ -27,7 +27,7 @@ const sentryToken = settings.get('analyticsSentryToken') ||
|
||||
const mixpanelToken = settings.get('analyticsMixpanelToken') ||
|
||||
_.get(packageJSON, [ 'analytics', 'mixpanel', 'token' ])
|
||||
|
||||
const configUrl = settings.get('configUrl') || 'http://balena.io/etcher/static/config.json'
|
||||
const configUrl = settings.get('configUrl') || 'https://balena.io/etcher/static/config.json'
|
||||
|
||||
const DEFAULT_PROBABILITY = 0.1
|
||||
|
||||
|
@ -30,7 +30,7 @@ const { getConfig } = require('../shared/utils')
|
||||
|
||||
const config = settings.getDefaults()
|
||||
|
||||
const configUrl = settings.get('configUrl') || 'http://balena.io/etcher/static/config.json'
|
||||
const configUrl = settings.get('configUrl') || 'https://balena.io/etcher/static/config.json'
|
||||
|
||||
/**
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user