mirror of
https://gitee.com/gitea/gitea
synced 2025-11-06 09:30:25 +08:00
@@ -134,6 +134,7 @@ func NewMacaron() *macaron.Macaron {
|
|||||||
DisableDebug: !setting.EnablePprof,
|
DisableDebug: !setting.EnablePprof,
|
||||||
}))
|
}))
|
||||||
m.Use(context.Contexter())
|
m.Use(context.Contexter())
|
||||||
|
m.SetAutoHead(true)
|
||||||
return m
|
return m
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user