标签:imp origin highlight div 跨域 header xposed config try
@Configuration public class WebConfig implements WebMvcConfigurer { @Override public void addCorsMappings(CorsRegistry registry) { registry.addMapping("/admin/**") .allowedOrigins("*") .allowedMethods("GET","POST","DELETE") .allowedHeaders("*") .exposedHeaders("Access-Control-Allow-Origin") .allowCredentials(true); }
标签:imp origin highlight div 跨域 header xposed config try
原文地址:https://www.cnblogs.com/bao-bei/p/13155972.html