From a18e3659aa9e74b3f9b8d9ba09a49249c22da301 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Thu, 5 May 2022 15:28:32 +0200 Subject: [PATCH] TODO for myself --- src/routes/settings/check.json.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/routes/settings/check.json.ts b/src/routes/settings/check.json.ts index dd312995d..2d88304ec 100644 --- a/src/routes/settings/check.json.ts +++ b/src/routes/settings/check.json.ts @@ -34,6 +34,7 @@ export const post: RequestHandler = async (event) => { const ipDomain = await dns.resolve4(domain); const ipDomainDualCert = await dns.resolve4(domainDualCert); console.log({ ipDomain, ipDomainDualCert }); + // TODO: Check if ipDomain and ipDomainDualCert are the same, but not like this if ( ipDomain.length === ipDomainDualCert.length && ipDomain.every((v) => ipDomainDualCert.indexOf(v) >= 0)