no message
parent
177d8aaca6
commit
c7bc22857e
@ -1,17 +0,0 @@
|
||||
package cokr.xit.applib;
|
||||
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
|
||||
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
||||
|
||||
@Configuration
|
||||
public class WebjarsConfig implements WebMvcConfigurer {
|
||||
|
||||
@Override
|
||||
public void addResourceHandlers(ResourceHandlerRegistry registry) {
|
||||
|
||||
registry.addResourceHandler("/resources/**")
|
||||
.addResourceLocations("/webjars/resources/");
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue