⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.
TypeScript bookmarkbookmark-managercollaborationnextjsreact-nativeread-it-laterself-hostedtypescript
fix: undefined variables failing to parse
Sebastian Hierholzer64d361fa237c
diff --git a/pages/api/v1/logins/index.ts b/pages/api/v1/logins/index.tsindex c592451f..b5efab8f 100644--- a/pages/api/v1/logins/index.ts+++ b/pages/api/v1/logins/index.ts@@ -231,8 +231,8 @@ export function getLogins() {}return {credentialsEnabled: (process.env.NEXT_PUBLIC_CREDENTIALS_ENABLED === 'true' || process.env.NEXT_PUBLIC_CREDENTIALS_ENABLED === undefined) ? "true" : "false",- emailEnabled: process.env.NEXT_PUBLIC_EMAIL_PROVIDER,- registrationDisabled: process.env.NEXT_PUBLIC_DISABLE_REGISTRATION,+ emailEnabled: (process.env.NEXT_PUBLIC_EMAIL_PROVIDER === 'true' ? 'true' : 'false'),+ registrationDisabled: (process.env.NEXT_PUBLIC_DISABLE_REGISTRATION === 'true' ? 'true' : 'false'),buttonAuths: buttonAuths};}\ No newline at end of file