mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Merge branch '1.2.x'
This commit is contained in:
commit
da4504118e
@ -182,6 +182,7 @@ public class TomcatEmbeddedServletContainerFactory
|
||||
: ClassUtils.getDefaultClassLoader());
|
||||
try {
|
||||
context.setUseRelativeRedirects(false);
|
||||
context.setMapperContextRootRedirectEnabled(true);
|
||||
}
|
||||
catch (NoSuchMethodError ex) {
|
||||
// Tomcat is < 8.0.30. Continue
|
||||
|
Loading…
Reference in New Issue
Block a user