We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b07fdce commit 373faa8Copy full SHA for 373faa8
back/src/main/java/com/back/global/config/WebConfig.java
@@ -42,8 +42,7 @@ public PageableHandlerMethodArgumentResolverCustomizer customizer() {
42
public void addResourceHandlers(ResourceHandlerRegistry registry) {
43
if ("local".equals(storageType)) {
44
registry.addResourceHandler("/images/**")
45
- .addResourceLocations("file:" + localStoragePath + "/")
46
- .setCachePeriod(3600); // 1시간 캐싱
+ .addResourceLocations("file:" + localStoragePath + "/");
47
}
48
49
0 commit comments