Adds webp to mime type map to support preview on upload file property editor. (#18863)

This commit is contained in:
Andy Butland
2025-04-01 09:18:31 +02:00
committed by GitHub
parent b1dbd80a07
commit b798925ddb

View File

@@ -744,6 +744,7 @@ export function getMimeTypeFromExtension(extension: string): string | null {
'.wbxml': 'application/vnd.wap.wbxml',
'.wcm': 'application/vnd.ms-works',
'.wdb': 'application/vnd.ms-works',
'.webp': 'image/webp',
'.wiz': 'application/msword',
'.wks': 'application/vnd.ms-works',
'.wm': 'video/x-ms-wm',