Skip to content

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

Merge branch 'dev' into missing-duplicate-checks

Danielbaadd6c06b8d
diff --cc lib/api/controllers/links/postLink.ts
index 7746dd60,85fd5378..4c42f6cc
--- a/lib/api/controllers/links/postLink.ts
+++ b/lib/api/controllers/links/postLink.ts
@@@ -180,7 -174,7 +183,7 @@@ export default async function postLink
const newLink = await prisma.link.create({
data: {
- url: link.url?.trim().replace(/\/+$/, ""),
- url: link.url?.trim() || null,
++ url: link.url?.trim().replace(/\/+$/, "") || null,
name: link.name,
description,
type: linkType,