Skip to content

Commit

Permalink
remove keys from config
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinit Kumar committed Oct 1, 2017
1 parent eb8fa75 commit 28fe0bc
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions config/config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
const path = require("path");
const rootPath = path.normalize(__dirname + "/..");
const DB = process.env.DB;
const clientID = process.env.GITHUB_CLIENT_ID;
const clientSecret = process.env.GITHUB_CLIENT_SECRET;


module.exports = {
development: {
Expand Down Expand Up @@ -27,14 +31,14 @@ module.exports = {
}
},
production: {
db: "mongodb://root:[email protected]:39078/ntwitter",
db: DB,
root: rootPath,
app: {
name: "Nodejs Express Mongoose Demo"
},
github: {
clientID: "c2e0f478634366e1289d",
clientSecret: "0bfde82383deeb99b28d0f6a9eac001a0deb798a",
clientID: clientID,
clientSecret: clientSecret,
callbackURL: "http://nitter.herokuapp.com/auth/github/callback"
}
}
Expand Down

0 comments on commit 28fe0bc

Please sign in to comment.