From 4957eacd27fafb70eb295a674b84dfd9f5326d5e Mon Sep 17 00:00:00 2001 From: Jungsub Ryoo Date: Tue, 29 Oct 2024 15:54:08 +0900 Subject: [PATCH] fix(server): admin route forward (#35) --- src/main/java/com/thc/realspr/controller/ForwardController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; }