prod-react-routing #48

Merged
djmil merged 6 commits from prod-routing into main 2023-12-02 02:12:42 +01:00
Showing only changes of commit c9019b6e03 - Show all commits

View File

@ -11,7 +11,7 @@ public class ReactAppController {
// This controller simply redirects all UI related routes
// to index.html, allowing react and react-router to work its magic
@GetMapping(value = { "", "/", "/games", "/games/new", "/games/proposal", "/games/active", "/games/archive", "/about","/leaderboard" })
@GetMapping(value = { "", "/", "/games", "/games/*", "/about","/leaderboard" })
@PutMapping("/error")
public String getIndex(HttpServletRequest inRequest) {
return "/index.html";