Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

fix: preserved links in public lists should use public URLs (fixes #1633)

saschabuehrle44d2118d66ce
diff --git a/apps/web/components/PreserverdFormatRow.tsx b/apps/web/components/PreserverdFormatRow.tsx
index fc296d9d..88c9e570 100644
--- a/apps/web/components/PreserverdFormatRow.tsx
+++ b/apps/web/components/PreserverdFormatRow.tsx
@@ -23,7 +23,7 @@ export default function PreservedFormatRow({
}: Props) {
const router = useRouter();
- const isPublic = router.pathname.startsWith("/public") ? true : undefined;
+ const isPublic = router.pathname.startsWith("/public");
const handleDownload = () => {
const path = `/api/v1/archives/${link?.id}?format=${format}`;