mirror of
https://github.com/status-im/codimd.git
synced 2025-02-17 11:26:44 +00:00
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
|
||||
},
|
||||
github: {
|
||||
enterpriseURL: undefined,
|
||||
clientID: undefined,
|
||||
clientSecret: undefined
|
||||
},
|
||||
|
@ -66,6 +66,7 @@ module.exports = {
|
||||
consumerSecret: process.env.CMD_TWITTER_CONSUMERSECRET
|
||||
},
|
||||
github: {
|
||||
enterpriseURL: process.env.ENTERPRISE_URL,
|
||||
clientID: process.env.CMD_GITHUB_CLIENTID,
|
||||
clientSecret: process.env.CMD_GITHUB_CLIENTSECRET
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user