mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-09 19:09:03 +00:00
Correct replacement for stale-while-revalidate config property
Fixes gh-23980
This commit is contained in:
+1
-1
@@ -251,7 +251,7 @@ public class ResourceProperties extends Resources {
|
||||
|
||||
@Override
|
||||
@DeprecatedConfigurationProperty(
|
||||
replacement = "spring.web.resources.cache.cachecontrol.stale-while-revaliate")
|
||||
replacement = "spring.web.resources.cache.cachecontrol.stale-while-revalidate")
|
||||
public Duration getStaleWhileRevalidate() {
|
||||
return super.getStaleWhileRevalidate();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user