From 9a4263e27c023cae72b8c4b82f78f4593fd0744a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Veikko=20Lintuj=C3=A4rvi?= Date: Sun, 16 Mar 2025 21:27:49 +0200 Subject: [PATCH] Move DKIM key from file to env variable --- config/runtime.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/runtime.exs b/config/runtime.exs index 7cf1fa7..0ff8417 100644 --- a/config/runtime.exs +++ b/config/runtime.exs @@ -77,7 +77,7 @@ if config_env() == :prod do dkim: [ s: "email", d: "livonsaarenosuuspuutarha.fi", - private_key: {:pem_plain, File.read!("priv/keys/dkim_private.pem")} + private_key: {:pem_plain, System.get_env("DKIM_KEY")} ], retries: 2, no_mx_lookups: false