summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2017-06-10 16:53:21 -0600
committerGitHub <noreply@github.com>2017-06-10 16:53:21 -0600
commitccfbb7cb00113bf9b9c7e7ac5742df72cd5b96fd (patch)
tree553fcdb6ff4bb318879cf2418962b0927d5fb519 /cmd
parent38aa0ebb1df97ff185d84da2d3c2f9a11888729b (diff)
parentea998eb195063617aa485ce99b0e5bd1697ecab5 (diff)
Merge pull request #157 from guycalledseven/ponzu-dev
Fix for search not working when addons are enabled
Diffstat (limited to 'cmd')
-rw-r--r--cmd/ponzu/main.go2
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 {