⚡️⚡️⚡️ 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
minor improvement
Danielfd0f6e035d04
diff --git a/lib/api/getTitle.ts b/lib/api/getTitle.tsindex 47a5d22d..e654b307 100644--- a/lib/api/getTitle.ts+++ b/lib/api/getTitle.ts@@ -4,6 +4,6 @@ export default async function getTitle(url: string) {// regular expression to find the <title> taglet match = text.match(/<title.*>([^<]*)<\/title>/);- if (match) return match[1];+ if (match) return match[1] + " [AUTO GENERATED]";else return "";}