This commit is contained in:
zack 2024-10-22 17:06:45 -04:00
parent 6508fd8a05
commit 87fff4b0b9
No known key found for this signature in database
GPG key ID: 5F873416BCF59F35
2 changed files with 8 additions and 4 deletions

View file

@ -22,6 +22,10 @@ config :zoeyscomputer, ZoeyscomputerWeb.Endpoint,
pubsub_server: Zoeyscomputer.PubSub,
live_view: [signing_salt: "uUcDyRmg"]
config :nanoid,
alphabet: "_-0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",
size: 7
# Configures the mailer
#
# By default it uses the "Local" adapter which stores the emails
@ -65,10 +69,6 @@ config :ex_aws, :s3,
port: 443,
region: "us-east-1"
config :nanoid,
size: 21,
alphabet: "_-0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
# Configures Elixir's Logger
config :logger, :console,
format: "$time $metadata[$level] $message\n",

View file

@ -20,6 +20,10 @@ if System.get_env("PHX_SERVER") do
config :zoeyscomputer, ZoeyscomputerWeb.Endpoint, server: true
end
config :nanoid,
alphabet: "_-0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",
size: 7
if config_env() == :prod do
database_url =
System.get_env("DATABASE_URL") ||