expose user recommendation config in /api/meta (#2902)
This commit is contained in:
parent
f49ccd0cd3
commit
be82d845a4
@ -55,7 +55,8 @@ export default (params: any, me: ILocalUser) => new Promise(async (res, rej) =>
|
|||||||
recaptcha: config.recaptcha ? true : false,
|
recaptcha: config.recaptcha ? true : false,
|
||||||
objectStorage: config.drive && config.drive.storage === 'minio',
|
objectStorage: config.drive && config.drive.storage === 'minio',
|
||||||
twitter: config.twitter ? true : false,
|
twitter: config.twitter ? true : false,
|
||||||
serviceWorker: config.sw ? true : false
|
serviceWorker: config.sw ? true : false,
|
||||||
|
userRecommendation: config.user_recommendation ? config.user_recommendation : {}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user