Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
pieterbrandsen committed Jul 2, 2023
2 parents f793473 + 284e21f commit a351bee
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/setup/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,12 @@ function resetFolders() {

async function Setup(mArgv) {
argv = mArgv || {};
if (argv.grafanaPort) grafanaPort = argv.grafanaPort
else grafanaPort = !argv.traefik
? await getPort({ portRange: [3000, 4000] })
: 3000;
if (argv.grafanaPort) grafanaPort = argv.grafanaPort;
else {
grafanaPort = !argv.traefik
? await getPort({ portRange: [3000, 4000] })
: 3000;
}

argv.grafanaPort = grafanaPort;
serverPort = argv.serverPort;
Expand Down

0 comments on commit a351bee

Please sign in to comment.