From f1662b820f45a7ee89503448fc6a77085e87dc64 Mon Sep 17 00:00:00 2001 From: Evan Sharp Date: Fri, 22 Aug 2025 10:00:26 +0000 Subject: feat: Support video uploads and attachments (#1847) This commit allows the following mime types to be uploaded and attached as video assets on bookmarks. - video/mp4 - video/webm - video/x-matroska --- packages/trpc/lib/attachments.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/trpc/lib/attachments.ts') diff --git a/packages/trpc/lib/attachments.ts b/packages/trpc/lib/attachments.ts index e886b821..af484462 100644 --- a/packages/trpc/lib/attachments.ts +++ b/packages/trpc/lib/attachments.ts @@ -60,7 +60,7 @@ export function isAllowedToAttachAsset(type: ZAssetType) { fullPageArchive: false, precrawledArchive: true, bannerImage: true, - video: false, + video: true, bookmarkAsset: false, linkHtmlContent: false, unknown: false, -- cgit v1.2.3-70-g09d2