fix runtime config

This commit is contained in:
shibao 2023-01-26 19:55:59 -05:00 committed by oliviasculley
parent f155a43ee8
commit 6dbadc58ae
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ if config_env() == :prod do
config :lokal, Lokal.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",