mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-30 09:45:15 +01:00
Fixes typo #6
This commit is contained in:
@@ -60,7 +60,7 @@ export default {
|
||||
ws = null;
|
||||
this.messages = [];
|
||||
}
|
||||
const protocol = SSL_ENABLED ? "wws" : "ws";
|
||||
const protocol = SSL_ENABLED ? "wss" : "ws";
|
||||
ws = new WebSocket(`${protocol}://${window.location.host}${BASE_PATH}/api/logs?id=${this.id}`);
|
||||
ws.onopen = e => console.log("Connection opened.");
|
||||
ws.onclose = e => console.log("Connection closed.");
|
||||
|
||||
Reference in New Issue
Block a user