mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge pull request #5924 from cmartin0077/master
feat(api) HEAD response, fixes #3854
This commit is contained in:
commit
7d4cc098a8
@ -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