Skip to content

Commit

Permalink
Fixes max-age value
Browse files Browse the repository at this point in the history
  • Loading branch information
nickschuch committed Feb 10, 2022
1 parent f63bb32 commit cdc2fcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func Run(params RunParams) error {
}

proxy.ModifyResponse = func(r *http.Response) error {
r.Header.Set("Cache-Control", fmt.Sprintf("max-age:%v, public", maxAge.Seconds()))
r.Header.Set("Cache-Control", fmt.Sprintf("max-age=%v, public", maxAge.Seconds()))
return nil
}

Expand Down

0 comments on commit cdc2fcc

Please sign in to comment.