Skip to content

Commit fd56a05

Browse files
committed
fix: fix missing MIME types preventing upload of YAML files
(cherry picked from commit c703a27)
1 parent 8d5b7d2 commit fd56a05

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/services/config/ApiConstants.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ export const VALID_MIME_TYPES = [
3232
'text/csv',
3333
'text/plain',
3434
'text/x-yaml',
35+
'text/yaml',
36+
'application/x-yaml',
37+
'application/yaml',
3538
];
3639

3740
export const TWINCACHE_STATUS = {

0 commit comments

Comments
 (0)