com.redismq.server.config.SpringMvcConfig Maven / Gradle / Ivy
package com.redismq.server.config;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
/**
* @author zk
* @date 2021/6/8 14:52
*/
@Configuration
public class SpringMvcConfig implements WebMvcConfigurer {
@Override
public void addResourceHandlers(ResourceHandlerRegistry registry) {
registry.addResourceHandler("/static/**").addResourceLocations("classpath:/static/");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy