From 8a1b34fe59894f3fba585ff570eb873e8c2ea7b5 Mon Sep 17 00:00:00 2001 From: Boaz Leskes Date: Fri, 31 Jan 2014 10:30:17 +0100 Subject: [PATCH] Config.js now uses window.location.protocol rather than a hard coded "http://" Closes #92 --- kibana/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kibana/config.js b/kibana/config.js index 6f4b279e8ac1f..e7d0b44592b68 100644 --- a/kibana/config.js +++ b/kibana/config.js @@ -21,7 +21,7 @@ define(['settings'], * kibana installed on. You probably want to set it to the FQDN of your * elasticsearch host */ - elasticsearch: "http://"+window.location.hostname+@@port, + elasticsearch: window.location.protocol+"//"+window.location.hostname+@@port, /** @scratch /configuration/config.js/5 * ==== default_route