tripeur 4 년 전
부모
커밋
79230099b7
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/main/java/fr/jaquin/bdlg/planner/websockets/WebSocketConfig.java

+ 1 - 2
src/main/java/fr/jaquin/bdlg/planner/websockets/WebSocketConfig.java

@@ -18,8 +18,7 @@ public class WebSocketConfig implements WebSocketMessageBrokerConfigurer {
 
   @Override
   public void registerStompEndpoints(final StompEndpointRegistry registry) {
-    registry.addEndpoint("/ws")
-        .setAllowedOrigins("https://bdlg-planner.jaquin.fr'", "http://localhost").withSockJS();
+    registry.addEndpoint("/ws").setAllowedOrigins("*").withSockJS();
   }
 
 }