Fix front-end analytics csp config
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
f593867d8e
commit
994797c475
|
@ -65,7 +65,7 @@ defmodule Mobilizon.Service.FrontEndAnalytics do
|
||||||
|
|
||||||
defp merge_csp_config(config, global_config) do
|
defp merge_csp_config(config, global_config) do
|
||||||
Keyword.merge(global_config, config, fn _key, global, config ->
|
Keyword.merge(global_config, config, fn _key, global, config ->
|
||||||
"#{global} #{config}"
|
global ++ config
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue