mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-16 04:00:38 +03:00
Increase cover art max-age to maximum
This commit is contained in:
parent
8fd86def18
commit
51fb1d1349
@ -40,7 +40,7 @@ func (c *MediaRetrievalController) GetCoverArt(w http.ResponseWriter, r *http.Re
|
||||
}
|
||||
size := utils.ParamInt(r, "size", 0)
|
||||
|
||||
w.Header().Set("cache-control", "public, max-age=300")
|
||||
w.Header().Set("cache-control", "public, max-age=315360000")
|
||||
err = c.cover.Get(r.Context(), id, size, w)
|
||||
|
||||
switch {
|
||||
|
Loading…
x
Reference in New Issue
Block a user