We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67ab2ab commit cfc3e81Copy full SHA for cfc3e81
assets/pages/Container.vue
@@ -60,7 +60,7 @@ export default {
60
ws = null;
61
this.messages = [];
62
}
63
- const protocol = SSL_ENABLED ? "wws" : "ws";
+ const protocol = SSL_ENABLED ? "wss" : "ws";
64
ws = new WebSocket(`${protocol}://${window.location.host}${BASE_PATH}/api/logs?id=${this.id}`);
65
ws.onopen = e => console.log("Connection opened.");
66
ws.onclose = e => console.log("Connection closed.");
0 commit comments