Skip to content

Commit

Permalink
Use DAKDAK_ENV instead of PROCESS_ENV for figuring out what env is used
Browse files Browse the repository at this point in the history
  • Loading branch information
miro committed Jan 9, 2016
1 parent 9c01739 commit 0510667
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configurator.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var env = process.env.NODE_ENV || 'development';
var env = process.env.DAKDAK_ENV || 'development';
var config = require('./configs/' + env + '.js');

console.log('Configs fetched with env "' + env + '"');
Expand Down

0 comments on commit 0510667

Please sign in to comment.