⚡️⚡️⚡️ 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
bug fix
daniel31x13dfcc271343ec
diff --git a/components/LinkDetails.tsx b/components/LinkDetails.tsxindex 3f73a352..e1568c6f 100644--- a/components/LinkDetails.tsx+++ b/components/LinkDetails.tsx@@ -221,7 +221,7 @@ export default function LinkDetails({width={1280}height={720}alt=""- className="object-cover scale-105"+ className="object-cover scale-105 object-center h-full"style={{filter: "blur(1px)",}}diff --git a/hooks/store/links.tsx b/hooks/store/links.tsxindex 3cc9f8e1..037f9748 100644--- a/hooks/store/links.tsx+++ b/hooks/store/links.tsx@@ -412,7 +412,7 @@ const useUpdatePreview = () => {`/api/v1/archives/${linkId}?format=` + ArchivedFormat.jpeg,{body: formBody,- method: "POST",+ method: "PUT",});diff --git a/pages/api/v1/archives/[linkId].ts b/pages/api/v1/archives/[linkId].tsindex f3e342aa..d8859b7f 100644--- a/pages/api/v1/archives/[linkId].ts+++ b/pages/api/v1/archives/[linkId].ts@@ -206,7 +206,7 @@ export default async function Index(req: NextApiRequest, res: NextApiResponse) {});}// To update the link preview- else if (req.method === "PUT" && format === ArchivedFormat.jpeg) {+ else if (req.method === "PUT") {if (process.env.NEXT_PUBLIC_DEMO === "true")return res.status(400).json({response: