Adds more CORS config
This commit is contained in:
parent
2e4bbbd810
commit
6c6abcf8d7
@ -13,6 +13,8 @@ class MyCorsConfiguration {
|
||||
return object : WebMvcConfigurer {
|
||||
override fun addCorsMappings(registry: CorsRegistry) {
|
||||
registry.addMapping("/**")
|
||||
.allowedOrigins("*")
|
||||
.allowedMethods("GET")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user