We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 575ed0d commit d619c68Copy full SHA for d619c68
websocket/endpoint-wss/src/main/webapp/websocket.js
@@ -1,4 +1,5 @@
1
-var wsUri = "ws://" + document.location.host + document.location.pathname + "websocket";
+var wsUri = "wss://" + document.location.host + document.location.pathname + "websocket";
2
+//var wsUri = "ws://localhost:8080" + document.location.pathname + "websocket";
3
console.log("Connecting to " + wsUri);
4
var websocket = new WebSocket(wsUri);
5
websocket.onopen = function(evt) { onOpen(evt) };
0 commit comments