mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-07-04 12:08:00 +02:00
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
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -4,6 +4,7 @@
|
||||
ehthumbs.db
|
||||
Icon?
|
||||
Thumbs.db
|
||||
config/env/local.js
|
||||
|
||||
# Node and related ecosystem
|
||||
# ==========================
|
||||
|
||||
@@ -11,7 +11,8 @@ var _ = require('lodash'),
|
||||
*/
|
||||
module.exports = _.extend(
|
||||
require('./env/all'),
|
||||
require('./env/' + process.env.NODE_ENV) || {}
|
||||
require('./env/' + process.env.NODE_ENV),
|
||||
require('./env/local.js') || {}
|
||||
);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user