Java-2602 Check spring-websockets PR (#10002)
Co-authored-by: mikr <michael.krimgen@ximedes.com>
This commit is contained in:
parent
0acc6a25e1
commit
fdc36375ff
|
@ -2,8 +2,8 @@
|
|||
<head>
|
||||
<title>Chat WebSocket</title>
|
||||
|
||||
<script src="./js/sockjs-0.3.4.js"></script>
|
||||
<script src="./js/stomp.js"></script>
|
||||
<script src="resources/js/sockjs-0.3.4.js"></script>
|
||||
<script src="resources/js/stomp.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
|||
|
||||
function connect() {
|
||||
|
||||
var socket = new SockJS('/spring-mvc-java/chat');
|
||||
var socket = new SockJS('/chat');
|
||||
stompClient = Stomp.over(socket);
|
||||
|
||||
stompClient.connect({}, function(frame) {
|
Loading…
Reference in New Issue