Synchronize cache-control header for local media with the mediaproxy
This commit is contained in:
parent
db36b48180
commit
3b1b183b42
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ defmodule Pleroma.Plugs.UploadedMedia do
|
|||
# no slashes
|
||||
@path "media"
|
||||
|
||||
@default_cache_control_header "public max-age=86400 must-revalidate"
|
||||
@default_cache_control_header "public, max-age=1209600"
|
||||
|
||||
def init(_opts) do
|
||||
static_plug_opts =
|
||||
|
|
Loading…
Reference in a new issue