Use persistent servlet session with DevTools
Set `server.session.persistent=true` when running DevTools to ensure persistent sessions are used. Fixes gh-3530
This commit is contained in:
@@ -46,6 +46,7 @@ class DevToolsPropertyDefaultsPostProcessor implements BeanFactoryPostProcessor,
|
||||
properties.put("spring.groovy.template.cache", "false");
|
||||
properties.put("spring.velocity.cache", "false");
|
||||
properties.put("spring.mustache.cache", "false");
|
||||
properties.put("server.session.persistent", "true");
|
||||
PROPERTIES = Collections.unmodifiableMap(properties);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user