|
|
|
|
|
|
|
|
.addResourceLocations("classpath:/META-INF/resources/"); |
|
|
.addResourceLocations("classpath:/META-INF/resources/"); |
|
|
registry.addResourceHandler("/webjars/**") |
|
|
registry.addResourceHandler("/webjars/**") |
|
|
.addResourceLocations("classpath:/META-INF/resources/webjars/"); |
|
|
.addResourceLocations("classpath:/META-INF/resources/webjars/"); |
|
|
registry.addResourceHandler(staticAccessPath).addResourceLocations("file:"+uploadFolder); |
|
|
|
|
|
|
|
|
registry.addResourceHandler(staticAccessPath).addResourceLocations("file:///"+uploadFolder); |
|
|
super.addResourceHandlers(registry); |
|
|
super.addResourceHandlers(registry); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |