This commit is contained in:
ran.shang
2025-07-17 19:17:21 +08:00
parent cc56007101
commit 1ed120da86

View File

@@ -63,7 +63,7 @@ public class WebSocketConfiguration {
registry
.addHandler(defaultTextWebSocketHandler(), path)
.addInterceptors(defaultHttpSessionHandshakeInterceptor())
.setAllowedOrigins("*");
.setAllowedOrigins("*").withSockJS();
}
};
}