diff options
Diffstat (limited to 'api4/file.go')
-rw-r--r-- | api4/file.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api4/file.go b/api4/file.go index 09132b9a1..a395fff65 100644 --- a/api4/file.go +++ b/api4/file.go @@ -299,7 +299,7 @@ func getPublicFile(c *Context, w http.ResponseWriter, r *http.Request) { } func writeFileResponse(filename string, contentType string, bytes []byte, toDownload bool, w http.ResponseWriter, r *http.Request) *model.AppError { - w.Header().Set("Cache-Control", "max-age=2592000, public") + w.Header().Set("Cache-Control", "max-age=2592000, private") w.Header().Set("Content-Length", strconv.Itoa(len(bytes))) if contentType != "" { |