XiaoRuby
2023-08-26 8f8ba3c62d6fc9f4733a408daf59a5badd82e5e2
framework/src/main/java/com/yuanchu/limslaboratory/config/WebMvcConfig.java
@@ -19,7 +19,6 @@
        registry.addResourceHandler("/webjars/**").addResourceLocations("classpath:/META-INF/resources/webjars/");
        //设置文件虚拟路径映射
        registry.addResourceHandler("/img/**").addResourceLocations("file:"+filePath+"/")
                .addResourceLocations("file:"+filePath+"/");
        registry.addResourceHandler("/img/**").addResourceLocations("file:"+filePath+"/");
    }
}