Ver Fonte

提交配置文件

xusonglin há 5 anos atrás
pai
commit
e893b36a61

+ 1 - 1
src/main/java/com/jkcredit/sysnews/config/CorsConfig.java

@@ -46,7 +46,7 @@ public class CorsConfig implements WebMvcConfigurer {
 
     @Override
     public void addResourceHandlers(ResourceHandlerRegistry registry) {
-        registry.addResourceHandler("/app/image/**").addResourceLocations("/home/jknews/news/photo");
+        registry.addResourceHandler("/app/image/**").addResourceLocations("/home/jknews/news/photo/");
     }