Skip to content

Commit

Permalink
fix: fake backend and .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilczaja committed Sep 25, 2024
1 parent 65efd7d commit 103d1ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ if (!Object.keys(filteredProps).length) {
}

// Write app-config.json
const output = './src/assets/config/app-config.json';
const output = './src/assets/config/app-configuration.json';
const json = JSON.stringify(filteredProps);
writeFileSync(output, json);

// It is ok to log this config as the data will be available in all client browsers
console.log(`Writing app.config.json to ${output}: ${json}`);
console.log(`Writing app.configuration.json to ${output}: ${json}`);
1 change: 1 addition & 0 deletions src/assets/config/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# - in local dev before running ng serve
# - in docker container before starting nginx
app-config.json
app-configuration.json

# Any backup files / old files
app.config*.json

0 comments on commit 103d1ce

Please sign in to comment.