A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
fix: monolith not embedding SVG files correctly. Fixes #289 (#306)
kamtschatkaaa3dce09ff68
diff --git a/apps/workers/crawlerWorker.ts b/apps/workers/crawlerWorker.tsindex f2a51fc8..ddf61fc8 100644--- a/apps/workers/crawlerWorker.ts+++ b/apps/workers/crawlerWorker.ts@@ -422,15 +422,12 @@ async function archiveWebpage(jobId: string,) {logger.info(`[Crawler][${jobId}] Will attempt to archive page ...`);- const urlParsed = new URL(url);- const baseUrl = `${urlParsed.protocol}//${urlParsed.host}`;-const assetId = newAssetId();const assetPath = `/tmp/${assetId}`;await execa({input: html,- })`monolith - -Ije -t 5 -b ${baseUrl} -o ${assetPath}`;+ })`monolith - -Ije -t 5 -b ${url} -o ${assetPath}`;await saveAssetFromFile({userId,@@ -442,7 +439,7 @@ async function archiveWebpage(});logger.info(- `[Crawler][${jobId}] Done archiving the page as assertId: ${assetId}`,+ `[Crawler][${jobId}] Done archiving the page as assetId: ${assetId}`,);return assetId;