diff --git a/src/main/java/com/thc/realspr/controller/ForwardController.java b/src/main/java/com/thc/realspr/controller/ForwardController.java index 2901769..d626358 100644 --- a/src/main/java/com/thc/realspr/controller/ForwardController.java +++ b/src/main/java/com/thc/realspr/controller/ForwardController.java @@ -5,7 +5,7 @@ @Controller public class ForwardController { - @RequestMapping(value = { "/", "/{x:[\\w\\-]+}", "/{x:^(?!api$).*$}/*/{y:[\\w\\-]+}" }) + @RequestMapping(value = {"/", "/{x:[\\w\\-]+}", "/{x:^(?!api$).*$}/*/{y:[\\w\\-]+}", "/admin/*"}) public String index() { return "forward:/index.html"; }