Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
Update CORS filter for websockets
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee Dobryden committed May 25, 2021
1 parent ceb8942 commit 0c50bd8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void configureMessageBroker(MessageBrokerRegistry config) {
public void registerStompEndpoints(StompEndpointRegistry registry) {
registry
.addEndpoint("/websocket")
.setAllowedOrigins("*")
.setAllowedOriginPatterns("*")
.withSockJS();
}

Expand Down

0 comments on commit 0c50bd8

Please sign in to comment.