Shoc.Webgtw/src/main/java/io/imast/shoc/webgtw/config/WebFluxConfig.java
/**
     * Override the CORS mapping
     * 
     * @param registry The CORS Registry
     */
Override the CORS mapping

@param registry The CORS Registry
Override the CORS mapping @param registry The CORS Registry
@Override
    public void addCorsMappings(CorsRegistry registry) {
       registry.addMapping("/**")
               .allowedOrigins("*")
               .allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS")
               .allowedHeaders("*");
    }
@ Override public void addCorsMappings ( CorsRegistry registry ) { registry . addMapping ( "/**" ) . allowedOrigins ( "*" ) . allowedMethods ( "GET" , "POST" , "PUT" , "DELETE" , "OPTIONS" ) . allowedHeaders ( "*" ) ; }
Override the CORS mapping
Override the CORS mapping