Skip to content

Commit

Permalink
move around
Browse files Browse the repository at this point in the history
  • Loading branch information
sebader committed Oct 31, 2024
1 parent b31cae3 commit 3d81ca4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions WebsiteBackendFunctions/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ public static void Main(string[] args)
{
var host = new HostBuilder()
.ConfigureFunctionsWebApplication()
.ConfigureServices(services =>
{
services.AddApplicationInsightsTelemetryWorkerService();
services.ConfigureFunctionsApplicationInsights();
})
.ConfigureLogging(logging =>
{
logging.Services.Configure<LoggerFilterOptions>(options =>
Expand All @@ -26,11 +31,6 @@ public static void Main(string[] args)
}
});
})
.ConfigureServices(services =>
{
services.AddApplicationInsightsTelemetryWorkerService();
services.ConfigureFunctionsApplicationInsights();
})
.Build();

host.Run();
Expand Down

0 comments on commit 3d81ca4

Please sign in to comment.