Skip to content

Commit

Permalink
Deleted some unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
ProgrammerAL committed Sep 22, 2024
1 parent 055e949 commit 28e9d91
Showing 1 changed file with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,22 +137,6 @@ private DomainsInfrastructure GenerateDomainEntries(CloudflarePagesApp webClient
Provider = provider
});

//var record = new Cloudflare.Record("website-cname", new Cloudflare.RecordArgs
//{
// Name = GlobalConfig.WebClientInfraConfig.RootDomain,
// Content = webClientInfra.PagesProject.Subdomain,
// ZoneId = GlobalConfig.WebClientInfraConfig.CloudflareZoneId,
// Proxied = true,
// AllowOverwrite = true,
// Type = "CNAME",
// Ttl = 1,//Has to be set to 1 because this is proxied
//}, new CustomResourceOptions
//{
// Provider = provider,
// //Need to register the Pages Domain before making the CNAME record, otherwise it will fail
// DependsOn = new[] { pagesDomain }
//});

var record = new Cloudflare.Record("website-cname", new Cloudflare.RecordArgs
{
Name = "svghelpers",
Expand Down

0 comments on commit 28e9d91

Please sign in to comment.