From f4a0c209beaa0db0d83abd5558ea514ccb050499 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Moreno?= Date: Thu, 21 Jan 2021 09:48:34 +0100 Subject: [PATCH] formatting --- resources/web/code-web.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/web/code-web.js b/resources/web/code-web.js index f460db62a9e..fae03c7120b 100644 --- a/resources/web/code-web.js +++ b/resources/web/code-web.js @@ -400,8 +400,8 @@ async function handleRoot(req, res) { const secondaryHost = ( req.headers['host'] - ? req.headers['host'].replace(':' + PORT, ':' + SECONDARY_PORT) - : `${HOST}:${SECONDARY_PORT}` + ? req.headers['host'].replace(':' + PORT, ':' + SECONDARY_PORT) + : `${HOST}:${SECONDARY_PORT}` ); const webConfigJSON = { folderUri: folderUri,