From 083c00ea89091eb08b15759c054974325617f5ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20D=C3=B6tsch?= Date: Fri, 15 Oct 2021 14:11:18 +0200 Subject: [PATCH] Added mimetype for woff2 I'm missing the "woff2" mimetype in the mapping. Nginx added it as `font/woff2` some time ago: https://trac.nginx.org/nginx/ticket/1575 --- src/MimeType.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/MimeType.php b/src/MimeType.php index dfa94251..addef357 100644 --- a/src/MimeType.php +++ b/src/MimeType.php @@ -98,6 +98,7 @@ final class MimeType 'wma' => 'audio/x-ms-wma', 'wmv' => 'video/x-ms-wmv', 'woff' => 'application/x-font-woff', + 'woff2' => 'font/woff2', 'wsdl' => 'application/wsdl+xml', 'xbm' => 'image/x-xbitmap', 'xls' => 'application/vnd.ms-excel',