Skip to content

Commit a3e0847

Browse files
zeripathtechknowlogick
authored andcommitted
Add AutoHead functionality. (#5186)
Fixes #5153
1 parent 220ee6a commit a3e0847

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

routers/routes/routes.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ func NewMacaron() *macaron.Macaron {
134134
DisableDebug: !setting.EnablePprof,
135135
}))
136136
m.Use(context.Contexter())
137+
m.SetAutoHead(true)
137138
return m
138139
}
139140

0 commit comments

Comments
 (0)