Skip to content

Commit 373faa8

Browse files
committed
[Refactor] minor변경
1 parent b07fdce commit 373faa8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

back/src/main/java/com/back/global/config/WebConfig.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ public PageableHandlerMethodArgumentResolverCustomizer customizer() {
4242
public void addResourceHandlers(ResourceHandlerRegistry registry) {
4343
if ("local".equals(storageType)) {
4444
registry.addResourceHandler("/images/**")
45-
.addResourceLocations("file:" + localStoragePath + "/")
46-
.setCachePeriod(3600); // 1시간 캐싱
45+
.addResourceLocations("file:" + localStoragePath + "/");
4746
}
4847
}
4948
}

0 commit comments

Comments
 (0)