diff options
author | bobzel <zzzman@gmail.com> | 2020-09-06 09:24:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-06 09:24:50 -0400 |
commit | 98b4c7b3269f61c65c561709c432fcd2078f82f0 (patch) | |
tree | cf5f3fa3c458935dffecb96ee678962b1b6ab5c5 /src/server/SharedMediaTypes.ts | |
parent | 2ef7900d1210bc0e5261e1d1f8fd1ba5f3a0ee4c (diff) | |
parent | 41c890ed4ffadc8fd6734052b8aa5accb463cd7f (diff) |
Merge pull request #681 from browngraphicslab/acls_uv
Some small changes
Diffstat (limited to 'src/server/SharedMediaTypes.ts')
-rw-r--r-- | src/server/SharedMediaTypes.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/SharedMediaTypes.ts b/src/server/SharedMediaTypes.ts index 0f788f6c5..a341fd1c2 100644 --- a/src/server/SharedMediaTypes.ts +++ b/src/server/SharedMediaTypes.ts @@ -1,7 +1,7 @@ import { ExifData } from 'exif'; import { File } from 'formidable'; -export namespace AcceptibleMedia { +export namespace AcceptableMedia { export const gifs = [".gif"]; export const pngs = [".png"]; export const jpgs = [".jpg", ".jpeg"]; @@ -10,7 +10,7 @@ export namespace AcceptibleMedia { export const imageFormats = [...pngs, ...jpgs, ...gifs, ...webps, ...tiffs]; export const videoFormats = [".mov", ".mp4"]; export const applicationFormats = [".pdf"]; - export const audioFormats = [".wav", ".mp3", ".flac", ".au", ".aiff", ".m4a", ".webm"]; + export const audioFormats = [".wav", ".mp3", ".mpeg", ".flac", ".au", ".aiff", ".m4a", ".webm"]; } export namespace Upload { |