mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 03:12:59 +08:00
Datasource proxy & session timeout fix (casued 401 Unauthorized error after a while), Fixes #1667
This commit is contained in:
@ -48,6 +48,9 @@ func Register(r *macaron.Macaron) {
|
||||
r.Get("/api/snapshots/:key", GetDashboardSnapshot)
|
||||
r.Get("/api/snapshots-delete/:key", DeleteDashboardSnapshot)
|
||||
|
||||
// api renew session based on remember cookie
|
||||
r.Get("/api/login/ping", LoginApiPing)
|
||||
|
||||
// authed api
|
||||
r.Group("/api", func() {
|
||||
// user
|
||||
|
Reference in New Issue
Block a user