adobe / adobe/da-admin

Only support specific content types

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
6
Forks
17
PR merge metrics
No merged PRs in 30d

Description

We should only allow uploading...

```js
export const SUPPORTED_TYPES = [
'text/html',
'application/json',
'application/pdf',
'image/jpeg',
'image/gif',
'image/png',
'image/svg+xml',
'video/mp4',
];
```

Keep the list short. Start small. Iterate.

## References
https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.