Compare commits
2 Commits
29edda05f6
...
0595ac4a49
| Author | SHA1 | Date | |
|---|---|---|---|
| 0595ac4a49 | |||
| 3e47644742 |
@@ -182,7 +182,7 @@ console.log("Echo mock frontend loaded");
|
||||
|
||||
async function connectWebSocket() {
|
||||
// supporting ws for local testing.
|
||||
var schema = window.location.protocol === "https" ? "wss://" : "ws://"
|
||||
var schema = window.location.protocol === "https:" ? "wss:" : "ws:"
|
||||
|
||||
var wsURL = schema + window.location.host +
|
||||
|
||||
|
||||
Reference in New Issue
Block a user