diff --git a/package.json b/package.json index ddf3b6c..50ac1ca 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "screeps-grafana-go_carbon", - "version": "1.0.4", + "version": "1.0.5", "scripts": { "setup": "node src/setup/setup.js setup", "start": "node src/setup/index.js --grafanaPort=3000", diff --git a/src/setup/setup.js b/src/setup/setup.js index afe011f..44c71f9 100644 --- a/src/setup/setup.js +++ b/src/setup/setup.js @@ -78,13 +78,6 @@ async function UpdateDockerComposeFile() { console.log('Docker-compose file created'); } -function UpdateTraefikConfigFolder() { - const traefikConfigFolder = join(__dirname, '../../traefikConfig'); - if (fs.existsSync(traefikConfigFolder) && !argv.force) return console.log('Traefik config folder already exists, use --force to overwrite it'); - - fse.copySync(join(__dirname, '../../traefikConfig.example'), traefikConfigFolder); -} - function UpdateUsersFile() { const usersFile = join(__dirname, '../../users.json'); if (fs.existsSync(usersFile) && !argv.force) return console.log('Users file already exists, use --force to overwrite it'); @@ -162,7 +155,6 @@ async function Setup(mArgv) { UpdateEnvFile(); await UpdateDockerComposeFile(); UpdateGrafanaConfigFolder(); - UpdateTraefikConfigFolder(); } if (process.argv[2] === 'setup') Setup();