diff --git a/resources/web/code-web.js b/resources/web/code-web.js index f460db62a9e4..fae03c7120be 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,