mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-23 22:05:43 +03:00
parent
220ee6ae42
commit
a3e084716e
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue