From 505642264a64b6edfd41dc73f52233f92e1eaf3f Mon Sep 17 00:00:00 2001 From: Gaspard Wierzbinski Date: Wed, 28 Aug 2024 18:02:05 +0200 Subject: [PATCH] fix: :bug: Make LinkPreview an array --- app/entities/note/page.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/entities/note/page.mdx b/app/entities/note/page.mdx index b38dc35..7a3f363 100644 --- a/app/entities/note/page.mdx +++ b/app/entities/note/page.mdx @@ -63,7 +63,7 @@ Notes represent a piece of content on a Versia instance. They can be posted by [ URIs of [Users](/entities/user) that should be notified of the note. Similar to Twitter's `@` mentions. The note may also contain mentions in the content, however only the mentions in this field should trigger notifications. - + Previews for any links in the publication. This is to avoid the [stampeding mastodon problem](https://github.com/mastodon/mastodon/issues/23662) where a link preview is fetched by every instance that sees the publication, creating an accidental DDOS attack. ```typescript @@ -152,4 +152,4 @@ Notes represent a piece of content on a Versia instance. They can be posted by [ ``` - \ No newline at end of file +