upd
This commit is contained in:
parent
6508fd8a05
commit
87fff4b0b9
2 changed files with 8 additions and 4 deletions
|
|
@ -22,6 +22,10 @@ config :zoeyscomputer, ZoeyscomputerWeb.Endpoint,
|
||||||
pubsub_server: Zoeyscomputer.PubSub,
|
pubsub_server: Zoeyscomputer.PubSub,
|
||||||
live_view: [signing_salt: "uUcDyRmg"]
|
live_view: [signing_salt: "uUcDyRmg"]
|
||||||
|
|
||||||
|
config :nanoid,
|
||||||
|
alphabet: "_-0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",
|
||||||
|
size: 7
|
||||||
|
|
||||||
# Configures the mailer
|
# Configures the mailer
|
||||||
#
|
#
|
||||||
# By default it uses the "Local" adapter which stores the emails
|
# By default it uses the "Local" adapter which stores the emails
|
||||||
|
|
@ -65,10 +69,6 @@ config :ex_aws, :s3,
|
||||||
port: 443,
|
port: 443,
|
||||||
region: "us-east-1"
|
region: "us-east-1"
|
||||||
|
|
||||||
config :nanoid,
|
|
||||||
size: 21,
|
|
||||||
alphabet: "_-0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
|
||||||
|
|
||||||
# Configures Elixir's Logger
|
# Configures Elixir's Logger
|
||||||
config :logger, :console,
|
config :logger, :console,
|
||||||
format: "$time $metadata[$level] $message\n",
|
format: "$time $metadata[$level] $message\n",
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,10 @@ if System.get_env("PHX_SERVER") do
|
||||||
config :zoeyscomputer, ZoeyscomputerWeb.Endpoint, server: true
|
config :zoeyscomputer, ZoeyscomputerWeb.Endpoint, server: true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
config :nanoid,
|
||||||
|
alphabet: "_-0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",
|
||||||
|
size: 7
|
||||||
|
|
||||||
if config_env() == :prod do
|
if config_env() == :prod do
|
||||||
database_url =
|
database_url =
|
||||||
System.get_env("DATABASE_URL") ||
|
System.get_env("DATABASE_URL") ||
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue