Skip to content
Snippets Groups Projects
Commit 4d4378ee authored by abdu's avatar abdu
Browse files

update request redirection pattern

parent 708f3069
Branches Robin
No related tags found
No related merge requests found
...@@ -7,7 +7,7 @@ import org.springframework.web.bind.annotation.RequestMapping; ...@@ -7,7 +7,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
@Controller @Controller
public class FallbackController { public class FallbackController {
@RequestMapping(value = "/**/{path:[^\\.]*}") @RequestMapping(value = "/{[path:[^\\.]*}")
public String redirect(){ public String redirect(){
return "forward:/index.html"; return "forward:/index.html";
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment