feat: redirect root / to /admin/templates
Ref: IT-634 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -31,6 +31,7 @@ if (app.Environment.IsDevelopment())
|
||||
|
||||
app.UseStaticFiles();
|
||||
app.UseHttpsRedirection();
|
||||
app.MapGet("/", () => Results.Redirect("/admin/templates"));
|
||||
app.MapControllers();
|
||||
app.MapDefaultControllerRoute();
|
||||
app.Run();
|
||||
Reference in New Issue
Block a user