From cba1aa85d040efb10e79ff72801210f216756320 Mon Sep 17 00:00:00 2001 From: TekH Date: Mon, 13 Jul 2026 09:51:53 +0200 Subject: [PATCH] feat: Add root path redirect to Hangfire dashboard - Map root path (/) to redirect to /hangfire dashboard - Improves user experience by providing direct access to main dashboard - Users accessing the application root will be automatically redirected to Hangfire --- ECMJobRunner.WebCron/Program.cs | 3 +++ 1 file changed, 3 insertions(+) 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)