mirror of
https://github.com/mitchell/shortnr.git
synced 2025-06-19 13:55:34 +00:00
Remove some characters from id char list
This commit is contained in:
parent
b492d338cd
commit
21728d883f
|
@ -53,7 +53,7 @@ defmodule Shortnr.URL do
|
|||
|> handle_errors
|
||||
end
|
||||
|
||||
@id_chars String.codepoints("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXWYZ0123456789")
|
||||
@id_chars String.codepoints("abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXWYZ0123456789")
|
||||
@spec generate_id() :: String.t()
|
||||
def generate_id do
|
||||
for _ <- 0..7,
|
||||
|
|
Loading…
Reference in a new issue