From 0962ebf28ac9a44a9a0b5b62e2009ac1431b9e12 Mon Sep 17 00:00:00 2001 From: Rashid Khan Date: Wed, 15 Oct 2014 10:37:34 -0700 Subject: [PATCH] Use same protocol for elasticsearch as everything else. Closes #1586 --- src/kibana/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kibana/index.js b/src/kibana/index.js index 51d565d0faa34a..abf74f147d6fc3 100644 --- a/src/kibana/index.js +++ b/src/kibana/index.js @@ -21,7 +21,7 @@ define(function (require) { 'ngRoute' ]); - configFile.elasticsearch = ('http://' + window.location.hostname + '/elasticsearch/'); + configFile.elasticsearch = (window.location.protocol + '//' + window.location.hostname + '/elasticsearch/'); kibana // This stores the Kibana revision number, @REV@ is replaced by grunt.