HTTP support of insight
- Added a check for https support.
This commit is contained in:
parent
e0d51bcb78
commit
92a977d6d9
|
@ -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…
Reference in New Issue