From 40f301ca71b3b5c1121063fc03f55402265ae5dd Mon Sep 17 00:00:00 2001 From: shibao Date: Thu, 26 Jan 2023 19:45:51 -0500 Subject: [PATCH] fix runtime config --- config/runtime.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/runtime.exs b/config/runtime.exs index 6a5f042..5705347 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -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",