From a5fb2143dca298ab8afb416fdebfcbc5e663787e Mon Sep 17 00:00:00 2001 From: Yisroel Baum Date: Mon, 17 Aug 2026 23:53:07 +0300 Subject: [PATCH] test redirect host configuration --- checks/rabbi-gerzi-domains.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/checks/rabbi-gerzi-domains.nix b/checks/rabbi-gerzi-domains.nix index a421860..27c9e62 100644 --- a/checks/rabbi-gerzi-domains.nix +++ b/checks/rabbi-gerzi-domains.nix @@ -22,6 +22,10 @@ let assertion = frontendConfig.apiBaseUrl == "https://api.rabbigerzi.com"; message = "Rabbi Gerzi frontend does not use the production API"; } + { + assertion = frontendConfig.redirectHostNames == [ "www.rabbigerzi.com" ]; + message = "Rabbi Gerzi frontend redirect hosts are not configured"; + } { assertion = backendConfig.hostName == "api.rabbigerzi.com"; message = "Rabbi Gerzi backend does not use the production API domain";