Commit a7ca34fe by Rashid Khan

Merge pull request #136 from rashidkpc/master

Undo protocol detections
parents 4fe0913e 8d667ffe
...@@ -17,7 +17,7 @@ var config = new Settings( ...@@ -17,7 +17,7 @@ var config = new Settings(
// By default this will attempt to reach ES at the same host you have // 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 installed on. You probably want to set it to the FQDN of your
// elasticsearch host // elasticsearch host
elasticsearch: window.location.protocol+"//"+window.location.hostname+":9200", elasticsearch: "http://"+window.location.hostname+":9200",
// elasticsearch: 'http://localhost:9200', // elasticsearch: 'http://localhost:9200',
kibana_index: "kibana-int", kibana_index: "kibana-int",
modules: ['histogram','map','pie','table','stringquery','sort', modules: ['histogram','map','pie','table','stringquery','sort',
......
...@@ -84,7 +84,7 @@ angular.module('kibana.services', []) ...@@ -84,7 +84,7 @@ angular.module('kibana.services', [])
}) })
.service('kbnIndex',function($http) { .service('kbnIndex',function($http) {
// returns a promise containing an array of all indices matching the index // returns a promise containing an array of all indices matching the index
// pattern that exist in a given range // pattern that exist in a given range
this.indices = function(from,to,pattern,interval) { this.indices = function(from,to,pattern,interval) {
var possible = []; var possible = [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment