@ -25,7 +25,7 @@ public class MyWebConfiguration implements WebMvcConfigurer {
@Override
public void addResourceHandlers(ResourceHandlerRegistry registry) {
registry.addResourceHandler("/api/file/**").addResourceLocations("file:" + imagePath + "/");
registry.addResourceHandler(imagePath).addResourceLocations("file:" + imagePath + "/");
}
// @Override