From 1b36fae83694a8d554811ab6bd7eac2819d12aaa Mon Sep 17 00:00:00 2001 From: TGCFabian <37806580+TGCFabian@users.noreply.github.com> Date: Mon, 5 Feb 2024 23:09:39 +0100 Subject: [PATCH] Remove slash to not cause double slash --- web/js/3las/3las.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/js/3las/3las.js b/web/js/3las/3las.js index bd062b9..92b79cb 100644 --- a/web/js/3las/3las.js +++ b/web/js/3las/3las.js @@ -72,7 +72,7 @@ var _3LAS = /** @class */ (function () { this.WakeLock.Begin(); try { if (window.location.protocol === 'https:') { - this.WebSocket = new WebSocketClient(this.Logger, 'wss://' + this.Settings.SocketHost + ':' + window.location.pathname + '/stream' + this.Settings.SocketPath, this.OnSocketError.bind(this), this.OnSocketConnect.bind(this), this.OnSocketDataReady.bind(this), this.OnSocketDisconnect.bind(this)); + this.WebSocket = new WebSocketClient(this.Logger, 'wss://' + this.Settings.SocketHost + ':' + window.location.pathname + 'stream' + this.Settings.SocketPath, this.OnSocketError.bind(this), this.OnSocketConnect.bind(this), this.OnSocketDataReady.bind(this), this.OnSocketDisconnect.bind(this)); } else { this.WebSocket = new WebSocketClient(this.Logger, 'ws://' + this.Settings.SocketHost + ':' + this.Settings.SocketPort.toString() + this.Settings.SocketPath, this.OnSocketError.bind(this), this.OnSocketConnect.bind(this), this.OnSocketDataReady.bind(this), this.OnSocketDisconnect.bind(this));