mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 16:52:36 +08:00
Dashboard snapshot: Should not require login to view snapshot, Fixes #1780
This commit is contained in:
@ -43,7 +43,7 @@ func Register(r *macaron.Macaron) {
|
||||
|
||||
// dashboard snapshots
|
||||
r.Post("/api/snapshots/", bind(m.CreateDashboardSnapshotCommand{}), CreateDashboardSnapshot)
|
||||
r.Get("/dashboard/snapshots/*", Index)
|
||||
r.Get("/dashboard/snapshot/*", Index)
|
||||
|
||||
r.Get("/api/snapshots/:key", GetDashboardSnapshot)
|
||||
r.Get("/api/snapshots-delete/:key", DeleteDashboardSnapshot)
|
||||
|
Reference in New Issue
Block a user