diff --git a/backend/src/main/java/djmil/cordacheckers/ReactAppController.java b/backend/src/main/java/djmil/cordacheckers/ReactAppController.java index ffd82bf..5cfc464 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/*", "/about","/leaderboard" }) + @GetMapping(value = { "", "/", "/games", "/games/*", "/about","/leaderboard" }) @PutMapping("/error") public String getIndex(HttpServletRequest inRequest) { return "/index.html"; diff --git a/webapp/src/container/Games.jsx b/webapp/src/container/Games.jsx index 8bcaae2..35c0679 100644 --- a/webapp/src/container/Games.jsx +++ b/webapp/src/container/Games.jsx @@ -48,10 +48,10 @@ function ViewSelector() { return ( )