Merge pull request #379 from kleetus/bug/https

HTTP support of insight
This commit is contained in:
Matias Alejo Garcia 2015-10-08 09:50:01 -03:00
commit 0eb07a197a
1 changed files with 1 additions and 1 deletions

View File

@ -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'
};