1
13693261870
2022-09-16 58d012f11dd34564d81b4eb3a6099eb689876597
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//package org.apereo.cas.web.landtool;
//
//import org.springframework.context.annotation.Configuration;
//import org.springframework.web.servlet.config.annotation.CorsRegistry;
//import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
//
///**
// * 
// * @author TanBin
// *
// */
//@Configuration
//public class CORSConfiguration extends WebMvcConfigurerAdapter {
//    @Override
//    public void addCorsMappings(CorsRegistry registry){
//        registry.addMapping("/**")
//            .allowedMethods("*")
//            .allowedOrigins("*")
////            .allowCredentials(false)
//            .allowedHeaders("*");
//    }
//}