1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-19 03:19:17 +00:00

IO list, not concatenation

This commit is contained in:
Mark Felder 2020-07-06 11:28:08 -05:00
parent 65843d92c4
commit da4029391d

View file

@ -145,7 +145,7 @@ defp build_csp_param(url) when is_binary(url) do
%{host: host, scheme: scheme} = URI.parse(url)
if scheme do
scheme <> "://" <> host
[scheme, "://", host]
end
end