Skip to content

Commit ba37faf

Browse files
committed
github login: default config/config from env vars.
Signed-off-by: kamijin_fanta <kamijin@live.jp>
1 parent 225e28b commit ba37faf

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/config/default.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ module.exports = {
104104
consumerSecret: undefined
105105
},
106106
github: {
107+
enterpriseURL: undefined,
107108
clientID: undefined,
108109
clientSecret: undefined
109110
},

lib/config/environment.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ module.exports = {
6666
consumerSecret: process.env.CMD_TWITTER_CONSUMERSECRET
6767
},
6868
github: {
69+
enterpriseURL: process.env.ENTERPRISE_URL,
6970
clientID: process.env.CMD_GITHUB_CLIENTID,
7071
clientSecret: process.env.CMD_GITHUB_CLIENTSECRET
7172
},

0 commit comments

Comments
 (0)