mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 16:40:29 +00:00
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
|
# 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 a new issue