[DS-8580] Fix ui-next serve router for / path (#8748)

This commit is contained in:
xiangzihao 2022-03-08 11:09:08 +08:00 committed by GitHub
parent 220ec8f5fb
commit fc334b7b13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,8 +116,8 @@ public class AppConfiguration implements WebMvcConfigurer {
@Override
public void addViewControllers(ViewControllerRegistry registry) {
registry.addViewController("/").setViewName("redirect:/ui/");
registry.addViewController("/ui/").setViewName("forward:/ui/index.html");
registry.addViewController("/").setViewName("forward:/ui/index.html");
}
/**