aboutsummaryrefslogtreecommitdiffstats
path: root/packages/trpc/lib
diff options
context:
space:
mode:
authorEvan Sharp <evan@packetmonkey.org>2025-08-22 10:00:26 +0000
committerGitHub <noreply@github.com>2025-08-22 11:00:26 +0100
commitf1662b820f45a7ee89503448fc6a77085e87dc64 (patch)
tree65f6411b57d32d814f5e9a607395a52dbe52837d /packages/trpc/lib
parent7bdc8b2c3e6a21a773f713e61957ef388fc7439e (diff)
downloadkarakeep-f1662b820f45a7ee89503448fc6a77085e87dc64.tar.zst
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
Diffstat (limited to 'packages/trpc/lib')
-rw-r--r--packages/trpc/lib/attachments.ts2
1 files changed, 1 insertions, 1 deletions
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,