Skip to content

Commit 2ae0c28

Browse files
committed
fixing the URLs
1 parent d619c68 commit 2ae0c28

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

websocket/endpoint-wss/src/main/webapp/websocket.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
var wsUri = "wss://" + document.location.host + document.location.pathname + "websocket";
2-
//var wsUri = "ws://localhost:8080" + document.location.pathname + "websocket";
1+
var wsUri = "wss://" + document.location.host + "/endpoint-wss/websocket";
2+
//var wsUri = "ws://" + document.location.hostname + ":8080/endpoint-wss/websocket";
33
console.log("Connecting to " + wsUri);
44
var websocket = new WebSocket(wsUri);
55
websocket.onopen = function(evt) { onOpen(evt) };

0 commit comments

Comments
 (0)