From: Sasha Sherstnev Date: Fri, 29 Nov 2013 12:15:30 +0000 (+0000) Subject: improve configuration of the main Spring servlet X-Git-Url: http://source.jalview.org/gitweb/?p=proteocache.git;a=commitdiff_plain;h=63d7d204defda1eb513e8aa137da92d88336aed7 improve configuration of the main Spring servlet --- diff --git a/server/compbio/spring/WebConfig.java b/server/compbio/spring/WebConfig.java index ba13b48..e7f0be2 100644 --- a/server/compbio/spring/WebConfig.java +++ b/server/compbio/spring/WebConfig.java @@ -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/");