diff --git a/config/config.exs b/config/config.exs index ea03a4d..8723a50 100644 --- a/config/config.exs +++ b/config/config.exs @@ -23,7 +23,7 @@ config :zoeyscomputer, ZoeyscomputerWeb.Endpoint, live_view: [signing_salt: "uUcDyRmg"] config :nanoid, - alphabet: NanoidConfig.alphabet(), + alphabet: "_-0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ", size: 7 # Configures the mailer diff --git a/config/runtime.exs b/config/runtime.exs index 579a019..e6d2c8a 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -20,10 +20,6 @@ if System.get_env("PHX_SERVER") do config :zoeyscomputer, ZoeyscomputerWeb.Endpoint, server: true end -config :nanoid, - alphabet: NanoidConfig.alphabet(), - size: 7 - if config_env() == :prod do database_url = System.get_env("DATABASE_URL") ||