mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-14 05:52:43 +00:00
Fix wrong init dependency on markup extensions (#7038)
* fix wrong init dependency on markup extensions
This commit is contained in:
parent
0c432d26fe
commit
355ab0c62c
4 changed files with 12 additions and 3 deletions
|
@ -20,6 +20,7 @@ import (
|
|||
"strconv"
|
||||
"time"
|
||||
|
||||
"code.gitea.io/gitea/modules/markup"
|
||||
"code.gitea.io/gitea/modules/markup/external"
|
||||
"code.gitea.io/gitea/routers"
|
||||
"code.gitea.io/gitea/routers/routes"
|
||||
|
@ -113,6 +114,7 @@ func runPR() {
|
|||
log.Printf("[PR] Setting up router\n")
|
||||
//routers.GlobalInit()
|
||||
external.RegisterParsers()
|
||||
markup.Init()
|
||||
m := routes.NewMacaron()
|
||||
routes.RegisterRoutes(m)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue