Merge pull request #1754 from matiu/fix/endpoint

default email storage to livenet
This commit is contained in:
Matias Alejo Garcia 2014-11-10 20:12:44 -03:00
commit 7207f03bd1
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

@ -8,7 +8,7 @@ var SEPARATOR = '|';
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;
}