summaryrefslogtreecommitdiffstats
path: root/cmd/web.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/web.go')
-rw-r--r--cmd/web.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/web.go b/cmd/web.go
index 21f12ee167..811771aa5b 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -14,6 +14,7 @@ import (
"strings"
"code.gitea.io/gitea/modules/log"
+ "code.gitea.io/gitea/modules/markup/external"
"code.gitea.io/gitea/modules/setting"
"code.gitea.io/gitea/routers"
"code.gitea.io/gitea/routers/routes"
@@ -59,6 +60,8 @@ func runWeb(ctx *cli.Context) error {
routers.GlobalInit()
+ external.RegisterParsers()
+
m := routes.NewMacaron()
routes.RegisterRoutes(m)