Commit e472e7cc authored by Dave Syer's avatar Dave Syer

Use forward:/index.html for home page

Fixes gh-549
parent 632290a4
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment