make it work with ssl insight
This commit is contained in:
parent
c07055b012
commit
342a69d737
4 changed files with 12 additions and 26 deletions
|
|
@ -52,10 +52,9 @@ angular.module('copayApp.controllers').controller('SettingsController', function
|
|||
|
||||
$scope.save = function() {
|
||||
var network = config.network;
|
||||
network.key = $scope.networkKey;
|
||||
network.host = $scope.networkHost;
|
||||
network.port = $scope.networkPort;
|
||||
network.secure = $scope.networkSecure;
|
||||
network.host = $scope.insightHost;
|
||||
network.port = $scope.insightPort;
|
||||
network.schema = $scope.insightSecure ? 'https' : 'http';
|
||||
|
||||
localStorage.setItem('config', JSON.stringify({
|
||||
networkName: $scope.networkName,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue