mirror of
https://github.com/go-gitea/gitea.git
synced 2024-10-30 14:02:27 +00:00
parent
220ee6ae42
commit
a3e084716e
@ -134,6 +134,7 @@ func NewMacaron() *macaron.Macaron {
|
||||
DisableDebug: !setting.EnablePprof,
|
||||
}))
|
||||
m.Use(context.Contexter())
|
||||
m.SetAutoHead(true)
|
||||
return m
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user