A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
web: disable auto backups by default
Abdullah Atta0a8c045f6f2d
diff --git a/apps/web/src/common/reminders.js b/apps/web/src/common/reminders.jsindex 77dc5455d..623cc50ca 100644--- a/apps/web/src/common/reminders.js+++ b/apps/web/src/common/reminders.js@@ -41,10 +41,7 @@ export const BACKUP_CRON_EXPRESSIONS = [];export async function scheduleBackups() {- const backupReminderOffset = Config.get(- "backupReminderOffset",- isUserPremium() ? 1 : 0- );+ const backupReminderOffset = Config.get("backupReminderOffset", 0);await TaskScheduler.stop("automatic-backups");if (!backupReminderOffset) return false;@@ -71,10 +68,7 @@ export function shouldAddAutoBackupsDisabledReminder() {}export async function shouldAddBackupReminder() {- const backupReminderOffset = Config.get(- "backupReminderOffset",- isUserPremium() ? 1 : 0- );+ const backupReminderOffset = Config.get("backupReminderOffset", 0);if (!backupReminderOffset) return false;const lastBackupTime = await db.backup.lastBackupTime();