diff --git a/AirportAutomation/AirportAutomationWeb/Controllers/HomeController.cs b/AirportAutomation/AirportAutomationWeb/Controllers/HomeController.cs index fd9b5c6..34f9edb 100644 --- a/AirportAutomation/AirportAutomationWeb/Controllers/HomeController.cs +++ b/AirportAutomation/AirportAutomationWeb/Controllers/HomeController.cs @@ -26,7 +26,7 @@ public IActionResult Index(bool logout = false) string token = _httpCallService.GetToken(); if (!string.IsNullOrEmpty(token)) { - return Redirect("/"); + return Redirect("HealthCheck"); } return View("Index"); } @@ -44,7 +44,7 @@ public async Task Authenticate(UserViewModel user) _alertService.SetAlertMessage(TempData, "login_failed", false); return Redirect("/"); } - return Redirect("TravelClass"); + return Redirect("HealthCheck"); } else { return RedirectToAction("Index"); } }