diff --git a/backend/src/main/java/djmil/cordacheckers/ReactAppController.java b/backend/src/main/java/djmil/cordacheckers/ReactAppController.java index d30b76d..ffd82bf 100644 --- a/backend/src/main/java/djmil/cordacheckers/ReactAppController.java +++ b/backend/src/main/java/djmil/cordacheckers/ReactAppController.java @@ -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";