This commit is contained in:
2025-08-22 08:59:39 +02:00
parent c9d713b0c8
commit 8bf8f5fb19
2 changed files with 2 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ public class ServerController : Controller
_logger.LogInformation("Neuer Server erstellt: {server}", server.Name); _logger.LogInformation("Neuer Server erstellt: {server}", server.Name);
return RedirectToAction("Overview", "Server"); return RedirectToAction("Overview");
} }
[HttpPost("Delete")] [HttpPost("Delete")]

View File

@@ -210,7 +210,7 @@ app.UseStaticFiles();
app.MapControllerRoute( app.MapControllerRoute(
name: "default", name: "default",
pattern: "{controller=Auth}/{action=Login}/" pattern: "{controller=Home}/{action=Index}/{id?}"
); );
app.Run(); app.Run();