mirror of
https://github.com/grafana/grafana.git
synced 2025-02-11 16:15:42 -06:00
feat(api) HEAD response, fixes #3854
This commit is contained in:
parent
9c08d7aef5
commit
0050707134
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user