summaryrefslogtreecommitdiffstats
path: root/routers/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/init.go')
-rw-r--r--routers/init.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/routers/init.go b/routers/init.go
index 697f33835c..38a456639d 100644
--- a/routers/init.go
+++ b/routers/init.go
@@ -18,6 +18,7 @@ import (
"code.gitea.io/gitea/modules/setting"
"code.gitea.io/gitea/modules/ssh"
macaron "gopkg.in/macaron.v1"
+ "code.gitea.io/gitea/modules/indexer"
)
func checkRunMode() {
@@ -36,6 +37,7 @@ func checkRunMode() {
func NewServices() {
setting.NewServices()
mailer.NewContext()
+ indexer.NewContext()
}
// GlobalInit is for global configuration reload-able.