prod-react-routing #48
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user