This website works better with JavaScript.
Home
Explore
Help
Sign In
mirrors
/
gitea
mirror of
https://github.com/go-gitea/gitea.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
210
Wiki
Activity
Browse Source
Add AutoHead functionality. (
#5186
)
Fixes
#5153
tags/v1.7.0-dev
zeripath
5 years ago
parent
220ee6ae42
commit
a3e084716e
1 changed files
with
1 additions
and
0 deletions
Split View
Show Diff Stats
1
0
routers/routes/routes.go
+ 1
- 0
routers/routes/routes.go
View File
@@ -134,6 +134,7 @@ func NewMacaron() *macaron.Macaron {
DisableDebug: !setting.EnablePprof,
}))
m.Use(context.Contexter())
m.SetAutoHead(true)
return m
}
Write
Preview
Loading…
Cancel
Save