Skip to content

Commit

Permalink
Fixed default url
Browse files Browse the repository at this point in the history
  • Loading branch information
Lomilar committed Apr 1, 2024
1 parent 74ef52f commit 16c52d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/server/profile/worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 16c52d0

Please sign in to comment.