From 8a54b6de7ad4966700cd893c277494dd65e286eb Mon Sep 17 00:00:00 2001 From: Anatolii Grynchuk Date: Sat, 2 May 2026 02:13:19 +0300 Subject: [PATCH] feat: redirect root / to /admin/templates Ref: IT-634 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- HrynCo.NotificationService.Web/Program.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/HrynCo.NotificationService.Web/Program.cs b/HrynCo.NotificationService.Web/Program.cs index 444e55e..6661fa5 100644 --- a/HrynCo.NotificationService.Web/Program.cs +++ b/HrynCo.NotificationService.Web/Program.cs @@ -31,6 +31,7 @@ if (app.Environment.IsDevelopment()) app.UseStaticFiles(); app.UseHttpsRedirection(); +app.MapGet("/", () => Results.Redirect("/admin/templates")); app.MapControllers(); app.MapDefaultControllerRoute(); app.Run(); \ No newline at end of file