A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
fix: fix monolith to respect crawler proxy
Mohamed Bassem085c832c9ab6
diff --git a/apps/workers/workers/crawlerWorker.ts b/apps/workers/workers/crawlerWorker.tsindex 70b2e644..ae7cfcab 100644--- a/apps/workers/workers/crawlerWorker.ts+++ b/apps/workers/workers/crawlerWorker.ts@@ -807,6 +807,15 @@ async function archiveWebpage(let res = await execa({input: html,cancelSignal: abortSignal,+ env: {+ https_proxy: serverConfig.proxy.httpsProxy+ ? getRandomProxy(serverConfig.proxy.httpsProxy)+ : undefined,+ http_proxy: serverConfig.proxy.httpProxy+ ? getRandomProxy(serverConfig.proxy.httpProxy)+ : undefined,+ no_proxy: serverConfig.proxy.noProxy?.join(","),+ },})("monolith", ["-", "-Ije", "-t", "5", "-b", url, "-o", assetPath]);if (res.isCanceled) {