diff options
| author | Evan Sharp <evan@packetmonkey.org> | 2025-08-22 10:00:26 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-22 11:00:26 +0100 |
| commit | f1662b820f45a7ee89503448fc6a77085e87dc64 (patch) | |
| tree | 65f6411b57d32d814f5e9a607395a52dbe52837d /packages/trpc | |
| parent | 7bdc8b2c3e6a21a773f713e61957ef388fc7439e (diff) | |
| download | karakeep-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')
| -rw-r--r-- | packages/trpc/lib/attachments.ts | 2 |
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, |
