Skip to content

Commit

Permalink
Remove public from cache-control
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCutter committed Dec 12, 2024
1 parent f20f700 commit 7338a27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/conformance/mysql/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func configureTilesReadAPI(mux *http.ServeMux, storage *mysql.Storage) {
return
}

w.Header().Set("Cache-Control", "public, max-age=31536000, immutable")
w.Header().Set("Cache-Control", "max-age=31536000, immutable")

if _, err := w.Write(tile); err != nil {
klog.Errorf("/tile/{level}/{index...}: %v", err)
Expand Down

0 comments on commit 7338a27

Please sign in to comment.