diff --git a/ECMJobRunner.WebCron/Program.cs b/ECMJobRunner.WebCron/Program.cs index c961fb9..611d8b8 100644 --- a/ECMJobRunner.WebCron/Program.cs +++ b/ECMJobRunner.WebCron/Program.cs @@ -140,7 +140,7 @@ app.UseAuthorization(); // Add Hangfire Dashboard with no authentication (for development) app.UseHangfireDashboard("/hangfire", new DashboardOptions { - Authorization = new[] { new AllowAllDashboardAuthorizationFilter() } + Authorization = [new AllowAllDashboardAuthorizationFilter()] }); // Add Health Check UI route (accessible outside Hangfire dashboard)