Fix front-end analytics csp config
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user