Skip to content

Commit

Permalink
fix: fix missing Windows-specific MIME type for zip files
Browse files Browse the repository at this point in the history
Zip files uploaded from windows may have the MIME type
'application/x-zip-compressed' instead of 'application/zip'
  • Loading branch information
csm-thu committed Aug 19, 2024
1 parent 58ca23d commit 16bfac0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/config/ApiConstants.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export const STORAGE_ROOT_DIR_PLACEHOLDER = '%WORKSPACE_FILE%/';
export const VALID_MIME_TYPES = [
'application/json',
'application/zip',
'application/x-zip-compressed', // Windows-specific
'application/xml',
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
'mats-officedocument.spreadsheetml.sheet',
Expand Down

0 comments on commit 16bfac0

Please sign in to comment.