Skip to content

Commit d619c68

Browse files
committed
adding a unsecure uri
1 parent 575ed0d commit d619c68

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

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

0 commit comments

Comments
 (0)