Skip to content

Commit

Permalink
Merge pull request electrode-io#10 from jchip/develop
Browse files Browse the repository at this point in the history
add staging config
  • Loading branch information
caoyangs authored Oct 28, 2016
2 parents 54c0fe4 + 8fae604 commit 036f6c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/config/staging.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"electrode": {
"source": "staging"
}
}
1 change: 1 addition & 0 deletions lib/electrode-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ module.exports = function electrodeServer(appConfig, decors, callback) {
const configOptions = {
dirs: [Path.join(__dirname, "config")],
warnMissing: false,
failMissing: false,
context: {
deployment: process.env.NODE_ENV
}
Expand Down

0 comments on commit 036f6c3

Please sign in to comment.