diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-09-03 20:55:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-03 20:55:10 +0100 |
commit | 0bd0146efb9e3fe7676826e4e95c3461d1a1da6a (patch) | |
tree | 7a9fdd8b6889115f0e75cb7bdef693a725b425ef /src/lib/constants.ts | |
parent | ea4d8bc1ab298b0fd31dc6e92505e3fc9048c20a (diff) | |
download | voidsky-0bd0146efb9e3fe7676826e4e95c3461d1a1da6a.tar.zst |
fix mime checks (#5118)
Diffstat (limited to 'src/lib/constants.ts')
-rw-r--r-- | src/lib/constants.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/constants.ts b/src/lib/constants.ts index ccd5f2dee..930f57326 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -136,3 +136,12 @@ export const GIF_FEATURED = (params: string) => `${GIF_SERVICE}/tenor/v2/featured?${params}` export const MAX_LABELERS = 20 + +export const SUPPORTED_MIME_TYPES = [ + 'video/mp4', + 'video/mpeg', + 'video/webm', + 'video/quicktime', +] as const + +export type SupportedMimeTypes = (typeof SUPPORTED_MIME_TYPES)[number] |