Config.js now uses window.location.protocol rather than a hard coded "http://"

Closes #92
This commit is contained in:
Boaz Leskes 2014-01-31 10:30:17 +01:00
parent ffcbe92d60
commit 8a1b34fe59

View file

@ -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