mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-24 02:02:19 +00:00
IO list, not concatenation
This commit is contained in:
parent
65843d92c4
commit
da4029391d
|
@ -145,7 +145,7 @@ defmodule Pleroma.Plugs.HTTPSecurityPlug do
|
|||
%{host: host, scheme: scheme} = URI.parse(url)
|
||||
|
||||
if scheme do
|
||||
scheme <> "://" <> host
|
||||
[scheme, "://", host]
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue