Use forward:/index.html for home page
Fixes gh-549
This commit is contained in:
@@ -238,7 +238,8 @@ public class WebMvcAutoConfiguration {
|
||||
catch (IOException ex) {
|
||||
// Ignore
|
||||
}
|
||||
registry.addViewController("/").setViewName("/index.html");
|
||||
// Use forward: prefix so that no view resolution is done
|
||||
registry.addViewController("/").setViewName("forward:/index.html");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user