Sfoglia il codice sorgente

Undoing protocol detection, probably better to enter the protocol manually

Rashid Khan 12 anni fa
parent
commit
8d667ffe08
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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',