TODO for myself
This commit is contained in:
parent
e2e342851a
commit
a18e3659aa
@ -34,6 +34,7 @@ export const post: RequestHandler = async (event) => {
|
|||||||
const ipDomain = await dns.resolve4(domain);
|
const ipDomain = await dns.resolve4(domain);
|
||||||
const ipDomainDualCert = await dns.resolve4(domainDualCert);
|
const ipDomainDualCert = await dns.resolve4(domainDualCert);
|
||||||
console.log({ ipDomain, ipDomainDualCert });
|
console.log({ ipDomain, ipDomainDualCert });
|
||||||
|
// TODO: Check if ipDomain and ipDomainDualCert are the same, but not like this
|
||||||
if (
|
if (
|
||||||
ipDomain.length === ipDomainDualCert.length &&
|
ipDomain.length === ipDomainDualCert.length &&
|
||||||
ipDomain.every((v) => ipDomainDualCert.indexOf(v) >= 0)
|
ipDomain.every((v) => ipDomainDualCert.indexOf(v) >= 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user