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:
Alexis Svinartchouk 2019-05-09 16:01:36 +02:00
parent e80106d8f8
commit 6386f85258
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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'
/**
*