[prod] Static routing fix
This commit is contained in:
parent
f9cb798dd8
commit
4f6f59f76d
@ -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/*","/about","/leaderboard" })
|
@GetMapping(value = { "", "/", "/games", "/games/new", "/games/proposal", "/games/active", "/games/archive", "/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