projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b1b183
)
Lint
author
Mark Felder
<feld@FreeBSD.org>
Fri, 13 Mar 2020 17:42:06 +0000
(12:42 -0500)
committer
Mark Felder
<feld@FreeBSD.org>
Fri, 13 Mar 2020 17:42:06 +0000
(12:42 -0500)
lib/pleroma/reverse_proxy/reverse_proxy.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/reverse_proxy/reverse_proxy.ex
b/lib/pleroma/reverse_proxy/reverse_proxy.ex
index 072a3d263de92c85b8ff7074d4f319eaffaea874..8b713b8f4a09e78853effaa72304510fe0d75ca1 100644
(file)
--- a/
lib/pleroma/reverse_proxy/reverse_proxy.ex
+++ b/
lib/pleroma/reverse_proxy/reverse_proxy.ex
@@
-299,7
+299,12
@@
defmodule Pleroma.ReverseProxy do
has_cache? ->
# There's caching header present but no cache-control -- we need to set our own
# as Plug defaults to "max-age=0, private, must-revalidate"
- List.keystore(headers, "cache-control", 0, {"cache-control", @default_cache_control_header})
+ List.keystore(
+ headers,
+ "cache-control",
+ 0,
+ {"cache-control", @default_cache_control_header}
+ )
true ->
List.keystore(