From 8bf8f5fb19538b7b4e581c89eebe65a354bec363 Mon Sep 17 00:00:00 2001 From: daniel-hbn Date: Fri, 22 Aug 2025 08:59:39 +0200 Subject: [PATCH] test --- Watcher/Controllers/ServerController.cs | 2 +- Watcher/Program.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Watcher/Controllers/ServerController.cs b/Watcher/Controllers/ServerController.cs index c26edd8..0126f82 100644 --- a/Watcher/Controllers/ServerController.cs +++ b/Watcher/Controllers/ServerController.cs @@ -56,7 +56,7 @@ public class ServerController : Controller _logger.LogInformation("Neuer Server erstellt: {server}", server.Name); - return RedirectToAction("Overview", "Server"); + return RedirectToAction("Overview"); } [HttpPost("Delete")] diff --git a/Watcher/Program.cs b/Watcher/Program.cs index 4356947..0c4e404 100644 --- a/Watcher/Program.cs +++ b/Watcher/Program.cs @@ -210,7 +210,7 @@ app.UseStaticFiles(); app.MapControllerRoute( name: "default", - pattern: "{controller=Auth}/{action=Login}/" + pattern: "{controller=Home}/{action=Index}/{id?}" ); app.Run();