Skip to content

Commit

Permalink
original change
Browse files Browse the repository at this point in the history
  • Loading branch information
matthebrown committed Feb 8, 2025
1 parent 8120aac commit 1b42800
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions src/Aspire.Hosting.Azure.AppContainers/ContainerAppExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,12 @@ public static void AddCustomDomain(this ContainerApp app, IResourceBuilder<Param
new NullLiteralExpression()
);

app.Configuration.Ingress.CustomDomains = new BicepList<ContainerAppCustomDomain>()
{
new ContainerAppCustomDomain()
{
BindingType = bindingTypeConditional,
Name = customDomainParameter,
CertificateId = certificateOrEmpty
}
};
app.Configuration.Ingress.CustomDomains.Add(
new ContainerAppCustomDomain()
{
BindingType = bindingTypeConditional,
Name = customDomainParameter,
CertificateId = certificateOrEmpty
};
}
}

0 comments on commit 1b42800

Please sign in to comment.