mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 04:14:59 +00:00
TODO for myself
This commit is contained in:
1 parent
e2e342851a
commit
a18e3659aa
1 file changed
+1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user