mirror of
https://github.com/eiblog/eiblog.git
synced 2026-02-08 15:52:25 +08:00
reset
This commit is contained in:
@@ -28,9 +28,7 @@ var es *ElasticService
|
||||
|
||||
func init() {
|
||||
es = &ElasticService{url: setting.Conf.SearchURL, c: new(http.Client)}
|
||||
if setting.Conf.RunMode == setting.PROD {
|
||||
initIndex()
|
||||
}
|
||||
initIndex()
|
||||
}
|
||||
|
||||
func initIndex() {
|
||||
|
||||
Reference in New Issue
Block a user