mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-22 16:55:44 +00:00
Get the cert correctly
This commit is contained in:
@@ -62,7 +62,6 @@ async function query(domainId: string, domain: string) {
|
|||||||
.where(
|
.where(
|
||||||
and(
|
and(
|
||||||
eq(certificates.domainId, domainId),
|
eq(certificates.domainId, domainId),
|
||||||
eq(certificates.wildcard, true), // only NS domains can have wildcard certs
|
|
||||||
or(
|
or(
|
||||||
eq(certificates.domain, domain),
|
eq(certificates.domain, domain),
|
||||||
eq(certificates.domain, domainLevelDown),
|
eq(certificates.domain, domainLevelDown),
|
||||||
|
|||||||
Reference in New Issue
Block a user