Browse Source

tell macaron to use auth head

pull/2676/head
Aaron Bieber 9 years ago
parent
commit
331732bf81
  1. 2
      cmd/web.go

2
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)

Loading…
Cancel
Save