projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18bf82d
)
remove unused variable
author
FloatingGhost
<hannah@coffee-and-dreams.uk>
Fri, 16 Dec 2022 12:36:34 +0000
(12:36 +0000)
committer
FloatingGhost
<hannah@coffee-and-dreams.uk>
Fri, 16 Dec 2022 12:36:34 +0000
(12:36 +0000)
lib/pleroma/web/preload.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/preload.ex
b/lib/pleroma/web/preload.ex
index e554965a26a12f42498ca952103f1835db85fabf..57705d2de9b281b20bc09b6f1c39d7a022ed7458 100644
(file)
--- a/
lib/pleroma/web/preload.ex
+++ b/
lib/pleroma/web/preload.ex
@@
-5,7
+5,7
@@
defmodule Pleroma.Web.Preload do
alias Phoenix.HTML
- def build_tags(%{assigns: %{csp_nonce: nonce}}
= conn
, params) do
+ def build_tags(%{assigns: %{csp_nonce: nonce}}, params) do
preload_data =
Enum.reduce(Pleroma.Config.get([__MODULE__, :providers], []), %{}, fn parser, acc ->
terms =