InetCidr.parse/2 is deprecated
This commit is contained in:
parent
5c5d9d9b9d
commit
18d38486a5
@ -43,6 +43,6 @@ defmodule Pleroma.Web.Plugs.RemoteIp do
|
||||
InetCidr.v6?(InetCidr.parse_address!(proxy)) -> proxy <> "/128"
|
||||
end
|
||||
|
||||
InetCidr.parse(proxy, true)
|
||||
InetCidr.parse_cidr!(proxy, true)
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user