fix runtime config
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
shibao 2023-01-26 19:45:51 -05:00
parent 178111ce80
commit 40f301ca71

View File

@ -75,7 +75,7 @@ if config_env() == :prod do
config :memex, Memex.Mailer,
adapter: Swoosh.Adapters.SMTP,
relay: System.get_env("SMTP_HOST") || raise("No SMTP_HOST set!"),
port: System.get_env("SMTP_PORT", 587),
port: System.get_env("SMTP_PORT", "587"),
username: System.get_env("SMTP_USERNAME") || raise("No SMTP_USERNAME set!"),
password: System.get_env("SMTP_PASSWORD") || raise("No SMTP_PASSWORD set!"),
ssl: System.get_env("SMTP_SSL") == "true",