mirror of https://github.com/BTCPrivate/copay.git
default email storage to livenet
This commit is contained in:
parent
9e695863ed
commit
2564370087
|
@ -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: {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue