From e005d7f96c1e6db638f6508c0a824e5b8bc9c59b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Neven=20Jacmenovi=C4=87?= Date: Fri, 9 Jun 2017 23:02:44 +0200 Subject: delayed search index initialization so search can work with addons --- cmd/ponzu/main.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmd') diff --git a/cmd/ponzu/main.go b/cmd/ponzu/main.go index 7572dcc..c102aa4 100644 --- a/cmd/ponzu/main.go +++ b/cmd/ponzu/main.go @@ -137,6 +137,8 @@ var serveCmd = &cobra.Command{ } } + go db.InitSearchIndex() + // save the https port the system is listening on err := db.PutConfig("https_port", fmt.Sprintf("%d", httpsport)) if err != nil { -- cgit v1.2.3