improve tlds import
This commit is contained in:
parent
2266370ebf
commit
ec8a1536a7
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ defmodule AutoLinker.Parser do
|
|||
"ssb://"
|
||||
]
|
||||
|
||||
@tlds "./priv/tlds.txt" |> File.read!() |> String.trim() |> String.split("\n")
|
||||
@tlds "./priv/tlds.txt" |> File.read!() |> String.split("\n", trim: true)
|
||||
|
||||
@default_opts ~w(url)a
|
||||
|
||||
|
|
Reference in a new issue