Skip to content

Commit

Permalink
feat(infra): fix record name for certificate validation (#2438)
Browse files Browse the repository at this point in the history
  • Loading branch information
larisa17 authored Apr 30, 2024
1 parent 4bbb2aa commit d640faa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infra/lib/staking/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ applications:
const certRecord = domainCert.apply((_cert) => {
const certDetails = _cert.split(" "); // Name Type Value
const certRecord = new cloudflare.Record("cloudflare-certificate-record", {
name: certDetails[0].replace(cloudflareDomain, ''), // remove the autocomplete domain
name: certDetails[0].replace(`.${cloudflareDomain}.`, ''), // remove the autocomplete domain
zoneId: cloudflareZoneId,
type: certDetails[1],
value: certDetails[2],
Expand Down

0 comments on commit d640faa

Please sign in to comment.