config: change default delta endpoint to https and production

Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
This commit is contained in:
Petros Angelatos 2015-09-30 02:49:52 +00:00 committed by Pablo Carranza Velez
parent f6f88941eb
commit f7a2668c4f

View File

@ -18,7 +18,7 @@ module.exports = config =
apiEndpoint: process.env.API_ENDPOINT ? 'https://api.resin.io'
listenPort: process.env.LISTEN_PORT ? 80
gosuperAddress: "http://unix:#{process.env.GOSUPER_SOCKET}:"
deltaHost: process.env.DELTA_ENDPOINT ? 'http://delta.staging.resin.io'
deltaHost: process.env.DELTA_ENDPOINT ? 'https://delta.resin.io'
registryEndpoint: process.env.REGISTRY_ENDPOINT ? 'registry.resin.io'
pubnub:
subscribe_key: checkValidKey(process.env.PUBNUB_SUBSCRIBE_KEY) ? process.env.DEFAULT_PUBNUB_SUBSCRIBE_KEY