diff options
author | Neven Jacmenović <neven@nivas.hr> | 2017-06-09 23:02:44 +0200 |
---|---|---|
committer | Neven Jacmenović <neven@nivas.hr> | 2017-06-09 23:02:44 +0200 |
commit | e005d7f96c1e6db638f6508c0a824e5b8bc9c59b (patch) | |
tree | 8d87f52f354259be7452cada520e175316c07604 /cmd/ponzu/main.go | |
parent | 38aa0ebb1df97ff185d84da2d3c2f9a11888729b (diff) |
delayed search index initialization so search can work with addons
Diffstat (limited to 'cmd/ponzu/main.go')
-rw-r--r-- | cmd/ponzu/main.go | 2 |
1 files changed, 2 insertions, 0 deletions
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 { |