feat(api) HEAD response, fixes #3854

This commit is contained in:
chrismartin0077
2016-08-29 06:07:44 -07:00
parent 9c08d7aef5
commit 0050707134
+3
View File
@@ -19,6 +19,9 @@ func Register(r *macaron.Macaron) {
quota := middleware.Quota
bind := binding.Bind
// automatically set HEAD for every GET
r.SetAutoHead(true)
// not logged in views
r.Get("/", reqSignedIn, Index)
r.Get("/logout", Logout)