From 99bd7a5a955aa0259b541a904187787abab149c5 Mon Sep 17 00:00:00 2001 From: Laszlo Fogas Date: Wed, 6 Mar 2024 14:09:09 +0100 Subject: [PATCH] fix: port-forwarding on other than port 9000 now works (#65) --- web/src/streamingBackend.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/src/streamingBackend.js b/web/src/streamingBackend.js index ea8ea48..a6733dc 100644 --- a/web/src/streamingBackend.js +++ b/web/src/streamingBackend.js @@ -6,9 +6,9 @@ if (typeof window !== 'undefined') { URL = protocol + '://' + window.location.hostname; let port = window.location.port - if (window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1') { - port = 9000 - } + // if (window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1') { + // port = 9000 + // } if (port && port !== '') { URL = URL + ':' + port }