improve configuration of the main Spring servlet
authorSasha Sherstnev <a.sherstnev@dundee.ac.uk>
Fri, 29 Nov 2013 12:15:30 +0000 (12:15 +0000)
committerSasha Sherstnev <a.sherstnev@dundee.ac.uk>
Fri, 29 Nov 2013 12:15:30 +0000 (12:15 +0000)
server/compbio/spring/WebConfig.java

index ba13b48..e7f0be2 100644 (file)
@@ -23,8 +23,7 @@ public class WebConfig extends WebMvcConfigurerAdapter {
 
        @Override
        public void addResourceHandlers(ResourceHandlerRegistry registry) {
-               registry.addResourceHandler("classpath:/META-INF/resources/webjars/**").addResourceLocations("/webjars/");
-               registry.addResourceHandler("/bootstrap/**").addResourceLocations("/bootstrap/");
+               registry.addResourceHandler("/bootstrap-3.0.2/**").addResourceLocations("/bootstrap-3.0.2/");
                registry.addResourceHandler("/css/**").addResourceLocations("/css/");
                registry.addResourceHandler("/images/**").addResourceLocations("/images/");
                registry.addResourceHandler("/js/**").addResourceLocations("/js/");