Hello, I am trying to make my API working with COR...
# spring
t
Hello, I am trying to make my API working with CORS but I always get
Invalid CORS request
with the fellowing configuration
Copy code
@Configuration
@EnableWebMvc
class WebConfig : WebMvcConfigurer {
    override fun addCorsMappings(registry: CorsRegistry) {
        registry
                .addMapping("/**")
    }
}
I am using Spring Boot
2.1.0.RELEASE
with Kotlin
1.3.10
, do you have an idea of what I could be doing wrong?