From 331732bf8118041aa898b641772ba4bbc5e39eec Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Sun, 21 Feb 2016 20:35:12 -0700 Subject: [PATCH] tell macaron to use auth head --- cmd/web.go | 2 ++ 1 file changed, 2 insertions(+) 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)