mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 18:30:41 -06:00
Fix format of Cache-Control header
This commit is contained in:
parent
5f0e7cd52a
commit
3e9adeefbc
@ -35,6 +35,6 @@ func GetDashboardSnapshot(c *middleware.Context) {
|
||||
Meta: dtos.DashboardMeta{IsSnapshot: true},
|
||||
}
|
||||
|
||||
c.Resp.Header().Set("Cache-Control", "public max-age: 31536000")
|
||||
c.Resp.Header().Set("Cache-Control", "public, max-age=31536000")
|
||||
c.JSON(200, dto)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user