Lint
authorMark Felder <feld@FreeBSD.org>
Fri, 13 Mar 2020 17:42:06 +0000 (12:42 -0500)
committerMark Felder <feld@FreeBSD.org>
Fri, 13 Mar 2020 17:42:06 +0000 (12:42 -0500)
lib/pleroma/reverse_proxy/reverse_proxy.ex

index 072a3d263de92c85b8ff7074d4f319eaffaea874..8b713b8f4a09e78853effaa72304510fe0d75ca1 100644 (file)
@@ -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(