From d4dc1b299d05e7cf9442bf70386d6054d0d1fa80 Mon Sep 17 00:00:00 2001 From: MrMasrozYTLIVE <61359286+MrMasrozYTLIVE@users.noreply.github.com> Date: Fri, 14 Jun 2024 19:53:51 +0300 Subject: [PATCH] Ignoring 'updatePortInUrl' if port is 443 (SSL connection) --- app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app.js b/app.js index b5800d4..208c3a0 100644 --- a/app.js +++ b/app.js @@ -850,6 +850,7 @@ function writeConfigToFile(filePath) { function updatePortInUrl(url) { if (!url) return url; const urlObject = new URL(url); + if(urlObject.port == 443) return urlObject.toString(); urlObject.port = servePort; return urlObject.toString(); }