update config

This commit is contained in:
deepzz0
2017-06-24 19:21:53 +08:00
parent 11b0f486cd
commit 055c2307cb
9 changed files with 88 additions and 87 deletions

View File

@@ -11,7 +11,6 @@ import (
"strings"
"time"
"github.com/eiblog/eiblog/setting"
"github.com/eiblog/utils/logd"
)
@@ -27,7 +26,7 @@ const (
var es *ElasticService
func init() {
es = &ElasticService{url: setting.Conf.SearchURL, c: new(http.Client)}
es = &ElasticService{url: "http://elasticsearch:9200", c: new(http.Client)}
initIndex()
}