mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-01 06:49:42 +00:00
As of spring-projects/spring-graphql#1465, Spring for GraphQL also supports applying allowed origins to the websocket endpoint. As it's considered a bug of omission in that project, this commit adapts the Spring Boot auto-configuration to leverage this change. There is no need for new configuration properties, as `spring.graphql.cors.*` origin-related keys apply to all supported transports. Fixes gh-50391