Commit dbb95473 authored by Andy Wilkinson's avatar Andy Wilkinson

Correct replacement for stale-while-revalidate config property

Fixes gh-23980
parent 8004a821
...@@ -251,7 +251,7 @@ public class ResourceProperties extends Resources { ...@@ -251,7 +251,7 @@ public class ResourceProperties extends Resources {
@Override @Override
@DeprecatedConfigurationProperty( @DeprecatedConfigurationProperty(
replacement = "spring.web.resources.cache.cachecontrol.stale-while-revaliate") replacement = "spring.web.resources.cache.cachecontrol.stale-while-revalidate")
public Duration getStaleWhileRevalidate() { public Duration getStaleWhileRevalidate() {
return super.getStaleWhileRevalidate(); return super.getStaleWhileRevalidate();
} }
......
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