diff --git a/src/ui/src/main/java/com/amazon/sample/ui/web/HomeController.java b/src/ui/src/main/java/com/amazon/sample/ui/web/HomeController.java index 473de5772..d922b2e55 100644 --- a/src/ui/src/main/java/com/amazon/sample/ui/web/HomeController.java +++ b/src/ui/src/main/java/com/amazon/sample/ui/web/HomeController.java @@ -39,8 +39,8 @@ public HomeController(@Autowired CatalogService catalogService, @Autowired Carts } @GetMapping("/") - public String index() { - return "redirect:/home"; + public String index(final Model model, final ServerHttpRequest request) { + return home(model, request); } @GetMapping("/home")