adds awful secret

This commit is contained in:
benbot 2023-10-27 03:55:42 -04:00
parent 49e5dfdc2f
commit 094ccf73b5

View file

@ -32,11 +32,7 @@ if config_env() == :prod do
# to check this value into version control, so we use an environment
# variable instead.
secret_key_base =
System.get_env("SECRET_KEY_BASE") ||
raise """
environment variable SECRET_KEY_BASE is missing.
You can generate one by calling: mix phx.gen.secret
"""
System.get_env("SECRET_KEY_BASE") || "secret shhh"
host = System.get_env("PHX_HOST") || "example.com"
port = String.to_integer(System.get_env("PORT") || "4000")