feat: github auth

This commit is contained in:
Annie Huang committed 2023-10-12 16:12:07 +08:00
1 parent 8719591faa
commit ad5344c98b
14 files changed
+127 -2

No files matched your search

+4
View File
@@ -14,6 +14,10 @@ const config = {
clientID: get('GOOGLE_CLIENT_ID', ''),
clientSecret: get('GOOGLE_CLIENT_SECRET', ''),
},
github: {
clientID: get('GITHUB_CLIENT_ID', ''),
clientSecret: get('GITHUB_CLIENT_SECRET', ''),
},
}
config.baseUrl = get('BASE_URL', `http://${config.host}:${config.port}`)