diff --git a/ECMJobRunner.WebCron/Program.cs b/ECMJobRunner.WebCron/Program.cs index 8a9f128..3fc037d 100644 --- a/ECMJobRunner.WebCron/Program.cs +++ b/ECMJobRunner.WebCron/Program.cs @@ -138,6 +138,9 @@ app.UseSerilogUi(); app.MapControllers(); +// Redirect root path to Hangfire dashboard +app.MapGet("/", () => Results.Redirect("/hangfire")); + app.Run(); } catch (Exception ex)