Skip to content

Commit

Permalink
Moved userstore URI to env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
ajhool committed Apr 3, 2017
1 parent 4a15f82 commit f261e66
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions app/config/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ const defaultConfig = {
sessionExpiration: process.env.SESSION_EXPIRATION || 60 * 60 * 24 * 7, // 1 week
saltRounds: process.env.SALT_ROUNDS || 12,
},
userStore: {
url: process.env.USER_STORE_URL
}
};

// Environment specific overrides
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@
"morgan": "^1.7.0",
"multer": "^1.2.0",
"passport": "^0.3.2",
"passport-auth0": "^0.6.0"
"passport-auth0": "^0.6.0",
"request-promise": "^4.2.0"
},
"devDependencies": {
"babel-cli": "^6.24.0",
Expand Down

0 comments on commit f261e66

Please sign in to comment.