mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
@@ -134,6 +134,7 @@ func NewMacaron() *macaron.Macaron {
|
||||
DisableDebug: !setting.EnablePprof,
|
||||
}))
|
||||
m.Use(context.Contexter())
|
||||
m.SetAutoHead(true)
|
||||
return m
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user