This commit is contained in:
zack 2024-10-22 17:13:48 -04:00
parent 741a7bf9a0
commit 4a8dd17baf
No known key found for this signature in database
GPG key ID: 5F873416BCF59F35
3 changed files with 10 additions and 0 deletions

View file

@ -22,6 +22,10 @@ config :zoeyscomputer, ZoeyscomputerWeb.Endpoint,
pubsub_server: Zoeyscomputer.PubSub,
live_view: [signing_salt: "uUcDyRmg"]
config :nanoid,
alphabet: NanoidConfig.alphabet(),
size: 7
# Configures the mailer
#
# By default it uses the "Local" adapter which stores the emails

View file

@ -20,6 +20,10 @@ 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") ||

2
rel/env.sh.eex Normal file
View file

@ -0,0 +1,2 @@
export NANOID_ALPHABET="_-0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
export NANOID_SIZE="7"