spring-framework / org.springframework.web.socket.config.annotation / SockJsServiceRegistration / setSupressCors

setSupressCors

open fun setSupressCors(suppressCors: Boolean): SockJsServiceRegistration

This option can be used to disable automatic addition of CORS headers for SockJS requests.

The default value is "false".

Since
4.1.2