microblogpub federation fixes #288
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@ defp proxy_type(_), do: {:error, :unknown}
|
|||
| {:error, atom()}
|
||||
| nil
|
||||
def parse_proxy(nil), do: nil
|
||||
def parse_proxy(""), do: nil
|
||||
|
||||
def parse_proxy(proxy) when is_binary(proxy) do
|
||||
with %URI{} = uri <- URI.parse(proxy),
|
||||
|
|
Loading…
Reference in a new issue