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