forked from AkkomaGang/akkoma
IO list, not concatenation
This commit is contained in:
parent
65843d92c4
commit
da4029391d
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ defp build_csp_param(url) when is_binary(url) do
|
||||||
%{host: host, scheme: scheme} = URI.parse(url)
|
%{host: host, scheme: scheme} = URI.parse(url)
|
||||||
|
|
||||||
if scheme do
|
if scheme do
|
||||||
scheme <> "://" <> host
|
[scheme, "://", host]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue