default email storage to livenet

This commit is contained in:
Matias Alejo Garcia 2014-11-10 16:32:55 -03:00
parent 9e695863ed
commit 2564370087
3 changed files with 5 additions and 6 deletions

View File

@ -61,12 +61,10 @@ var defaultConfig = {
EncryptedInsightStorage: true,
},
// This can be changed on the UX > Settings > Insight livenet
EncryptedInsightStorage: {
// THIS IS WRONG BUT DO NOT CHANGE IT WITH OUT A MIGRATION PLAN
// ALSO CHANGE THE DEFAULT AT js/plugins/InsightStorage.js
//
url: 'https://test-insight.bitpay.com:443/api/email'
// url: 'http://localhost:3001/api/email'
url: 'https://insight.bitpay.com:443/api/email',
//url: 'http://localhost:3001/api/email'
},
GoogleDrive: {

View File

@ -93,6 +93,7 @@ angular.module('copayApp.controllers').controller('SettingsController', function
defaultLanguage: $scope.selectedLanguage.isoCode,
plugins: plugins,
logLevel: $scope.selectedLogLevel.name,
EncryptedInsightStorage: {url: insightSettings.livenet.url + '/api/email' },
}));
// Go home reloading the application

View File

@ -5,7 +5,7 @@ var Identity = require('../models/Identity');
function InsightStorage(config) {
this.type = 'DB';
this.storeUrl = config.url || 'https://test-insight.bitpay.com:443/api/email';
this.storeUrl = config.url || 'https://insight.bitpay.com:443/api/email',
this.request = config.request || request;
}