File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/main/java/ru/mystamps/web/config Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ private static HandlerInterceptor getLocaleChangeInterceptor() {
155
155
}
156
156
157
157
private HandlerInterceptor getDownloadImageInterceptor () {
158
- return new DownloadImageInterceptor (servicesConfig .getDownloaderService ());
158
+ return new DownloadImageInterceptor (servicesConfig .getImageDownloaderService ());
159
159
}
160
160
161
161
}
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ public CronService getCronService() {
90
90
}
91
91
92
92
@ Bean
93
- public DownloaderService getDownloaderService () {
93
+ public DownloaderService getImageDownloaderService () {
94
94
return new HttpURLConnectionDownloaderService (new String []{"image/jpeg" , "image/png" });
95
95
}
96
96
You can’t perform that action at this time.
0 commit comments