Merge branch 'tusooa/lint' into 'develop'
Make lint happy See merge request pleroma/pleroma!3944
This commit is contained in:
commit
9da4f89b7b
|
@ -100,6 +100,7 @@ defp csp_string do
|
|||
if Config.get([:media_proxy, :enabled]) &&
|
||||
!Config.get([:media_proxy, :proxy_opts, :redirect_on_failure]) do
|
||||
sources = build_csp_multimedia_source_list()
|
||||
|
||||
{
|
||||
[img_src, sources],
|
||||
[media_src, sources],
|
||||
|
@ -113,7 +114,6 @@ defp csp_string do
|
|||
}
|
||||
end
|
||||
|
||||
|
||||
connect_src =
|
||||
if Config.get(:env) == :dev do
|
||||
[connect_src, " http://localhost:3035/"]
|
||||
|
|
Loading…
Reference in New Issue