Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Commit

Permalink
Config.js now uses window.location.protocol rather than a hard coded …
Browse files Browse the repository at this point in the history
…"http://"

Closes elastic#92
  • Loading branch information
bleskes committed Jan 31, 2014
1 parent ffcbe92 commit 8a1b34f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kibana/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8a1b34f

Please sign in to comment.