From c8d9f86caba3f18d6d10ecd068172eb31a00d5f5 Mon Sep 17 00:00:00 2001 From: mat ess Date: Tue, 27 Feb 2024 09:40:34 -0500 Subject: [PATCH] Parameterize protonmail records by verification key --- mat.services.lua | 2 +- sloane.lol.lua | 2 +- sloane.page.lua | 2 +- templates.lua | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/mat.services.lua b/mat.services.lua index b5d0354..81e063c 100644 --- a/mat.services.lua +++ b/mat.services.lua @@ -2,7 +2,7 @@ -- _a = "mat.services" -- custom protonmail domain -protonmail(_a) +protonmail(_a, "6e777d2bb348043a8e73b4f405b6b2dc659ff85f") -- static site on netlify alias(_a, "apex-loadbalancer.netlify.com") diff --git a/sloane.lol.lua b/sloane.lol.lua index 9daa889..e15fe5e 100644 --- a/sloane.lol.lua +++ b/sloane.lol.lua @@ -2,7 +2,7 @@ -- _a = "sloane.lol" -- custom protonmail domain -protonmail(_a) +protonmail(_a, "94d73b00f6e91d68cad4f484a6698da51258732d") -- forgejo on fly aaaa("git", "2a09:8280:1::a:4caa") diff --git a/sloane.page.lua b/sloane.page.lua index 9daa889..af6189b 100644 --- a/sloane.page.lua +++ b/sloane.page.lua @@ -2,7 +2,7 @@ -- _a = "sloane.lol" -- custom protonmail domain -protonmail(_a) +protonmail(_a, "") -- forgejo on fly aaaa("git", "2a09:8280:1::a:4caa") diff --git a/templates.lua b/templates.lua index f7a202d..3654360 100644 --- a/templates.lua +++ b/templates.lua @@ -1,8 +1,8 @@ -function protonmail(domain) +function protonmail(domain, verification) -- Configure mail records for protonmail -- Verification - txt(domain, "protonmail-verification=6e777d2bb348043a8e73b4f405b6b2dc659ff85f") + txt(domain, "protonmail-verification=" .. verification) -- MX records mx(domain, "mail.protonmail.ch", 10)