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
This commit is contained in:
2026-07-13 09:51:53 +02:00
parent def4d7b7c7
commit cba1aa85d0

View File

@@ -138,6 +138,9 @@ app.UseSerilogUi();
app.MapControllers();
// Redirect root path to Hangfire dashboard
app.MapGet("/", () => Results.Redirect("/hangfire"));
app.Run();
}
catch (Exception ex)