initial
This commit is contained in:
parent
4f6f59f76d
commit
c9019b6e03
@ -11,7 +11,7 @@ public class ReactAppController {
|
|||||||
// This controller simply redirects all UI related routes
|
// This controller simply redirects all UI related routes
|
||||||
// to index.html, allowing react and react-router to work its magic
|
// 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")
|
@PutMapping("/error")
|
||||||
public String getIndex(HttpServletRequest inRequest) {
|
public String getIndex(HttpServletRequest inRequest) {
|
||||||
return "/index.html";
|
return "/index.html";
|
||||||
|
Loading…
Reference in New Issue
Block a user