@@ -0,0 +1,563 @@
+package edu.ucdavis.fiehnlab.spectra.hash.rest;%0A%0Aimport org.springframework.context.annotation.Configuration;%0Aimport org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;%0Aimport org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;%0A%0A%0A@Configuration%0Apublic class StaticResourceConfiguration extends WebMvcConfigurerAdapter %7B%0A%0A    @Override%0A    public void addResourceHandlers(ResourceHandlerRegistry registry) %7B%0A        registry.addResourceHandler(%22/**%22)%0A            .addResourceLocations(%22classpath:/templates/%22);%0A    %7D%0A%7D

add resource configuration to web server to serve static files