github login: default config/config from env vars.

Signed-off-by: kamijin_fanta <kamijin@live.jp>
This commit is contained in:
kamijin_fanta 2019-10-26 22:17:45 +09:00
parent 225e28bdbd
commit ba37faf71a
2 changed files with 2 additions and 0 deletions

View File

@ -104,6 +104,7 @@ module.exports = {
consumerSecret: undefined consumerSecret: undefined
}, },
github: { github: {
enterpriseURL: undefined,
clientID: undefined, clientID: undefined,
clientSecret: undefined clientSecret: undefined
}, },

View File

@ -66,6 +66,7 @@ module.exports = {
consumerSecret: process.env.CMD_TWITTER_CONSUMERSECRET consumerSecret: process.env.CMD_TWITTER_CONSUMERSECRET
}, },
github: { github: {
enterpriseURL: process.env.ENTERPRISE_URL,
clientID: process.env.CMD_GITHUB_CLIENTID, clientID: process.env.CMD_GITHUB_CLIENTID,
clientSecret: process.env.CMD_GITHUB_CLIENTSECRET clientSecret: process.env.CMD_GITHUB_CLIENTSECRET
}, },