mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-23 06:58:58 +00:00
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
|
||||
@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