Skip to content

Commit 426c45f

Browse files
committed
fix(be)
1 parent 534f473 commit 426c45f

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

backend/src/main/java/com/deliveranything/global/config/WebSocketConfig.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,7 @@ public class WebSocketConfig implements WebSocketMessageBrokerConfigurer {
5252
public void registerStompEndpoints(StompEndpointRegistry registry) {
5353
registry.setErrorHandler(stompErrorHandler);
5454
registry.addEndpoint("/ws")
55-
.setAllowedOriginPatterns("http://localhost:*",
56-
"https://localhost:*",
57-
"https://cdpn.io",
58-
"https://www.deliver-anything.shop",
59-
"https://api.deliver-anything.shop"
60-
)
55+
.setAllowedOriginPatterns("*")
6156
.withSockJS();
6257
}
6358

0 commit comments

Comments
 (0)