|
@ -32,8 +32,8 @@ public class WebMvcConfig extends WebMvcConfigurerAdapter {
|
|
|
public void addResourceHandlers(ResourceHandlerRegistry registry) {
|
|
|
registry.addResourceHandler("swagger-ui.html")
|
|
|
.addResourceLocations("classpath:/META-INF/resources/");
|
|
|
// registry.addResourceHandler("/webjars/**")
|
|
|
// .addResourceLocations("classpath:/META-INF/resources/webjars/");
|
|
|
registry.addResourceHandler("/webjars/**")
|
|
|
.addResourceLocations("classpath:/META-INF/resources/webjars/");
|
|
|
|
|
|
}
|
|
|
}
|