Synchronize cache-control header for local media with the mediaproxy

This commit is contained in:
Mark Felder 2020-03-13 12:27:50 -05:00
parent db36b48180
commit 3b1b183b42

View File

@ -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 =