diff --git a/cmd/web.go b/cmd/web.go index 44d9bab00..bb4bdf9d5 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -130,6 +130,8 @@ func newMacaron() *macaron.Macaron { IndentJSON: macaron.Env != macaron.PROD, })) + m.SetAutoHead(true) + localeNames, err := bindata.AssetDir("conf/locale") if err != nil { log.Fatal(4, "Fail to list locale files: %v", err)