Skip to content
This repository was archived by the owner on Aug 30, 2021. It is now read-only.

Commit ba3e99f

Browse files
committed
implemented feature to address issue 553 - provide a local.js file for local development configuration parameters that will not get committed to remote repositories and will accidentally expose API keys, passwords, and sensitive local configuration
1 parent 9f9f450 commit ba3e99f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
ehthumbs.db
55
Icon?
66
Thumbs.db
7+
config/env/local.js
78

89
# Node and related ecosystem
910
# ==========================

config/config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ var _ = require('lodash'),
1111
*/
1212
module.exports = _.extend(
1313
require('./env/all'),
14-
require('./env/' + process.env.NODE_ENV) || {}
14+
require('./env/' + process.env.NODE_ENV),
15+
require('./env/local.js') || {}
1516
);
1617

1718
/**

0 commit comments

Comments
 (0)