spring-framework / org.springframework.web.bind.annotation / CrossOrigin / origins

origins

@AliasFor("value") val origins: Array<String>

List of allowed origins, e.g. "http://domain1.com".

These values are placed in the Access-Control-Allow-Origin header of both the pre-flight response and the actual response. "*" means that all origins are allowed.

If undefined, all origins are allowed.

See Also
#value