feat: implement settings synchronization with server, including encryption and API endpoints

This commit is contained in:
Linus Rath
2026-03-11 16:22:47 +01:00
parent cf5f271be2
commit a8a1ad1d54
7 changed files with 311 additions and 0 deletions
+1
View File
@@ -22,6 +22,7 @@ export async function GET() {
oauthClientId: process.env.OAUTH_CLIENT_ID || '',
oauthIssuerUrl: process.env.OAUTH_ISSUER_URL || '',
rememberMeEnabled: !!process.env.SESSION_SECRET,
settingsSyncEnabled: process.env.SETTINGS_SYNC_ENABLED === 'true' && !!process.env.SESSION_SECRET,
devMode: process.env.DEV_MOCK_JMAP === 'true',
});
}