Browse Source

Add AutoHead functionality. (#5186)

Fixes #5153
tags/v1.7.0-dev
zeripath 7 years ago committed by techknowlogick
parent
commit
a3e084716e
  1. 1
      routers/routes/routes.go

1
routers/routes/routes.go

@ -134,6 +134,7 @@ func NewMacaron() *macaron.Macaron {
DisableDebug: !setting.EnablePprof,
}))
m.Use(context.Contexter())
m.SetAutoHead(true)
return m
}

Loading…
Cancel
Save