Make lint happy

This commit is contained in:
tusooa 2023-08-30 20:34:16 -04:00
parent 1e685c8302
commit 3d09bc320e
No known key found for this signature in database
GPG key ID: 42AEC43D48433C51

View file

@ -100,6 +100,7 @@ defp csp_string do
if Config.get([:media_proxy, :enabled]) && if Config.get([:media_proxy, :enabled]) &&
!Config.get([:media_proxy, :proxy_opts, :redirect_on_failure]) do !Config.get([:media_proxy, :proxy_opts, :redirect_on_failure]) do
sources = build_csp_multimedia_source_list() sources = build_csp_multimedia_source_list()
{ {
[img_src, sources], [img_src, sources],
[media_src, sources], [media_src, sources],
@ -113,7 +114,6 @@ defp csp_string do
} }
end end
connect_src = connect_src =
if Config.get(:env) == :dev do if Config.get(:env) == :dev do
[connect_src, " http://localhost:3035/"] [connect_src, " http://localhost:3035/"]