A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search
fix(web): render PDFs via <embed> so Safari can display them (#2806)
KayMiff288613632c
diff --git a/apps/web/components/dashboard/preview/AssetContentSection.tsx b/apps/web/components/dashboard/preview/AssetContentSection.tsxindex 88383855..f55a9f61 100644--- a/apps/web/components/dashboard/preview/AssetContentSection.tsx+++ b/apps/web/components/dashboard/preview/AssetContentSection.tsx@@ -56,8 +56,9 @@ function PDFContentSection({ bookmark }: { bookmark: ZBookmark }) {/></div>) : (- <iframe+ <embedtitle={bookmark.content.assetId}+ type="application/pdf"className="h-full w-full"src={getAssetUrl(bookmark.content.assetId)}/>