Browse Source

HTTP support of insight

- Added a check for https support.
activeAddress
Chris Kleeschulte 10 years ago
parent
commit
92a977d6d9
  1. 2
      bitcorenode/index.js

2
bitcorenode/index.js

@ -81,7 +81,7 @@ Service.prototype._getConfiguration = function() {
var providerOptions = {
provider: 'insight',
url: 'http://localhost:' + self.node.port,
url: (self.node.https ? 'https://' : 'http://') + 'localhost:' + self.node.port,
apiPrefix: '/insight-api'
};

Loading…
Cancel
Save