|
@@ -11,7 +11,7 @@ public class WebMvcConfig implements WebMvcConfigurer {
|
|
|
public void addResourceHandlers(ResourceHandlerRegistry registry) {
|
|
|
// /images/**是静态映射, file:/root/images/是文件在服务器的路径
|
|
|
registry.addResourceHandler("/**")
|
|
|
- .addResourceLocations("file:D:/QMS/target/file/");
|
|
|
+ .addResourceLocations("file:E:/IDEAProject/QMS/target/file/");
|
|
|
}
|
|
|
}
|
|
|
|