Commit d7587296 by Torkel Ödegaard

Merge pull request #1629 from mattrobenolt/patch-1

Fix format of Cache-Control header
parents 5f0e7cd5 3e9adeef
......@@ -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)
}
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