mirror of https://github.com/mitchell/shortnr.git
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
|
|> handle_errors
|
||||||
end
|
end
|
||||||
|
|
||||||
@id_chars String.codepoints("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXWYZ0123456789")
|
@id_chars String.codepoints("abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXWYZ0123456789")
|
||||||
@spec generate_id() :: String.t()
|
@spec generate_id() :: String.t()
|
||||||
def generate_id do
|
def generate_id do
|
||||||
for _ <- 0..7,
|
for _ <- 0..7,
|
||||||
|
|
Loading…
Reference in New Issue