1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-04 08:38:37 +00:00

Fix wrong init dependency on markup extensions (#7038) (#7074)

* fix wrong init dependency on markup extensions
This commit is contained in:
Lunny Xiao
2019-05-30 00:05:36 +08:00
committed by techknowlogick
parent d07edc5336
commit 31ad8b7026
4 changed files with 12 additions and 3 deletions

View File

@@ -15,7 +15,6 @@ 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"
@@ -120,8 +119,6 @@ func runWeb(ctx *cli.Context) error {
routers.GlobalInit()
external.RegisterParsers()
m := routes.NewMacaron()
routes.RegisterRoutes(m)