diff --git a/src/main/server/profile/worker.js b/src/main/server/profile/worker.js index 80f20cedd..2204ed0dd 100644 --- a/src/main/server/profile/worker.js +++ b/src/main/server/profile/worker.js @@ -54,7 +54,7 @@ else const envHttps = process.env.HTTPS != null ? process.env.HTTPS.trim() == 'true' : false; global.repo = new EcRepository(); -repo.selectedServer = process.env.CASS_LOOPBACK || (envHttps ? "https://localhost/api/" : "http://localhost/api"); +repo.selectedServer = process.env.CASS_LOOPBACK || (envHttps ? "https://localhost/api/" : "http://localhost/api/"); if (envHttps) { https.globalAgent.options.rejectUnauthorized = false;