Skip to content

Commit 0f20847

Browse files
authored
Cf update (#3)
* fix dnslink with cloudflare * remove cname update
1 parent bef9265 commit 0f20847

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

index.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,6 @@ const updateOrCreateRecord = async (name, type, _payload) => {
5151
const updateCloudFlareRecord = async (hash, domain) => {
5252
console.log(`domain to update - https://${domain}`);
5353

54-
if (domain === 'app.aave.com' || domain === 'staging.aave.com') {
55-
console.log('skipping CNAME record for app/staging domain');
56-
} else {
57-
console.log('updating CNAME record');
58-
await updateOrCreateRecord(domain, 'CNAME', {
59-
content: `cloudflare-ipfs.com`,
60-
});
61-
}
62-
6354
console.log('updating dns link record');
6455
await updateOrCreateRecord(`_dnslink.${domain}`, 'TXT', {
6556
content: `dnslink=/ipfs/${hash}/`,

0 commit comments

Comments
 (0)