master
parent
c0ccc60b63
commit
233dd24060
@ -0,0 +1,18 @@
|
|||||||
|
//package com.jingcheng.cms.conf;
|
||||||
|
//
|
||||||
|
//import org.springframework.context.annotation.Configuration;
|
||||||
|
//import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
|
||||||
|
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
|
||||||
|
//
|
||||||
|
//@Configuration
|
||||||
|
//public class MyWebMvcConfigurerAdapter extends WebMvcConfigurerAdapter {
|
||||||
|
// /**
|
||||||
|
// * 配置静态访问资源
|
||||||
|
// * @param registry
|
||||||
|
// */
|
||||||
|
// @Override
|
||||||
|
// public void addResourceHandlers(ResourceHandlerRegistry registry) {
|
||||||
|
// registry.addResourceHandler("/static/**").addResourceLocations("classpath:/static/");
|
||||||
|
// super.addResourceHandlers(registry);
|
||||||
|
// }
|
||||||
|
//}
|
Loading…
Reference in New Issue