fix
This commit is contained in:
@@ -63,7 +63,7 @@ public class WebSocketConfiguration {
|
|||||||
registry
|
registry
|
||||||
.addHandler(defaultTextWebSocketHandler(), path)
|
.addHandler(defaultTextWebSocketHandler(), path)
|
||||||
.addInterceptors(defaultHttpSessionHandshakeInterceptor())
|
.addInterceptors(defaultHttpSessionHandshakeInterceptor())
|
||||||
.setAllowedOrigins("*");
|
.setAllowedOrigins("*").withSockJS();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user