From 63d7d204defda1eb513e8aa137da92d88336aed7 Mon Sep 17 00:00:00 2001 From: Sasha Sherstnev Date: Fri, 29 Nov 2013 12:15:30 +0000 Subject: [PATCH] improve configuration of the main Spring servlet --- server/compbio/spring/WebConfig.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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/"); -- 1.7.10.2