Explorar o código

Undoing protocol detection, probably better to enter the protocol manually

Rashid Khan %!s(int64=12) %!d(string=hai) anos
pai
achega
8d667ffe08
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      config.js

+ 1 - 1
config.js

@@ -17,7 +17,7 @@ var config = new Settings(
   // By default this will attempt to reach ES at the same host you have
   // elasticsearch installed on. You probably want to set it to the FQDN of your
   // elasticsearch host
-  elasticsearch:    window.location.protocol+"//"+window.location.hostname+":9200",   
+  elasticsearch:    "http://"+window.location.hostname+":9200",   
   // elasticsearch: 'http://localhost:9200',
   kibana_index:     "kibana-int", 
   modules:          ['histogram','map','pie','table','stringquery','sort',