mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-10 11:07:06 +00:00
@@ -19,5 +19,6 @@ public class WebConfig implements WebMvcConfigurer {
|
||||
public void addViewControllers(ViewControllerRegistry registry) {
|
||||
registry.addViewController("/").setViewName("redirect:/webapp/");
|
||||
registry.addViewController("/webapp/").setViewName("forward:/webapp/index.html");
|
||||
registry.addViewController("/webapp/**/{path:[^\\.]*}").setViewName("forward:/webapp/index.html");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user