mirror of https://github.com/status-im/codimd.git
github login: default config/config from env vars.
Signed-off-by: kamijin_fanta <kamijin@live.jp>
This commit is contained in:
parent
225e28bdbd
commit
ba37faf71a
|
@ -104,6 +104,7 @@ module.exports = {
|
||||||
consumerSecret: undefined
|
consumerSecret: undefined
|
||||||
},
|
},
|
||||||
github: {
|
github: {
|
||||||
|
enterpriseURL: undefined,
|
||||||
clientID: undefined,
|
clientID: undefined,
|
||||||
clientSecret: undefined
|
clientSecret: undefined
|
||||||
},
|
},
|
||||||
|
|
|
@ -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
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue