mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 08:50:15 +01:00
🔧 fix: socialLogins default value (#1730)
* fix: socialLogins default value * ci: add test for `AppService`
This commit is contained in:
parent
a2c35e8415
commit
f30d6bd689
2 changed files with 52 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ const paths = require('~/config/paths');
|
|||
const AppService = async (app) => {
|
||||
/** @type {TCustomConfig}*/
|
||||
const config = (await loadCustomConfig()) ?? {};
|
||||
const socialLogins = config.registration.socialLogins ?? [
|
||||
const socialLogins = config?.registration?.socialLogins ?? [
|
||||
'google',
|
||||
'facebook',
|
||||
'openid',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue