Skip to content

Commit

Permalink
feat: UI home page renders instead of redirect (#696)
Browse files Browse the repository at this point in the history
  • Loading branch information
niallthomson authored Dec 13, 2024
1 parent 2e6ede4 commit 2a19f9f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 2a19f9f

Please sign in to comment.