⚡️⚡️⚡️ 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
rename DISABLE_PRESERVATION to DISABLE_BROWSER (it's backwards compatible)
daniel31x13f818e4db34ee
diff --git a/.env.sample b/.env.sampleindex f81777eb..a4b5181d 100644--- a/.env.sample+++ b/.env.sample@@ -37,7 +37,7 @@ IMPORT_LIMIT=PLAYWRIGHT_LAUNCH_OPTIONS_EXECUTABLE_PATH=PLAYWRIGHT_WS_URL=MAX_WORKERS=-DISABLE_PRESERVATION=+DISABLE_BROWSER=NEXT_PUBLIC_RSS_POLLING_INTERVAL_MINUTES=RSS_SUBSCRIPTION_LIMIT_PER_USER=TEXT_CONTENT_LIMIT=diff --git a/apps/worker/lib/archiveHandler.ts b/apps/worker/lib/archiveHandler.tsindex b1f4027b..d44e0a3d 100644--- a/apps/worker/lib/archiveHandler.ts+++ b/apps/worker/lib/archiveHandler.ts@@ -27,7 +27,10 @@ export default async function archiveHandler(browser: Browser) {const user = link.collection?.owner;- let skipPreservation = process.env.DISABLE_PRESERVATION === "true";++ let skipPreservation =+ (process.env.DISABLE_BROWSER || process.env.DISABLE_PRESERVATION) ===+ "true";if (!skipPreservation && link.url) {try {