Commit 3e9adeef by Matt Robenolt

Fix format of Cache-Control header

parent 5f0e7cd5
...@@ -35,6 +35,6 @@ func GetDashboardSnapshot(c *middleware.Context) { ...@@ -35,6 +35,6 @@ func GetDashboardSnapshot(c *middleware.Context) {
Meta: dtos.DashboardMeta{IsSnapshot: true}, 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) c.JSON(200, dto)
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment