Skip to content

Commit

Permalink
Using new approach
Browse files Browse the repository at this point in the history
  • Loading branch information
wAsnk committed Nov 7, 2023
1 parent 7923e45 commit d78fed3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Lombiq.OSOCE.Web/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@
// create UI tests check out the project.
builder.Services
.AddSingleton(configuration)
.AddOrchardCoreApplicationInsightsTelemetry(configuration)
.AddOrchardCms(orchardCoreBuilder =>
{
orchardCoreBuilder.ConfigureFeaturesGuard(
orchardCoreBuilder
.AddOrchardCoreApplicationInsightsTelemetry(builder.Services, configuration)
.ConfigureFeaturesGuard(
new Dictionary<string, IEnumerable<string>>
{
["OrchardCore.Twitter"] = new[] { "Lombiq.UIKit", "Lombiq.ChartJs" },
Expand Down

0 comments on commit d78fed3

Please sign in to comment.