Add webp and svg to the default file_types (#1575)

This commit is contained in:
Charles 2023-04-27 03:19:33 -04:00 committed by GitHub
parent 4ec75e03e0
commit 2caa8c4a34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View File

@ -145,7 +145,9 @@
"xap",
"apk",
"cur",
"xml"
"xml",
"webp",
"svg"
],
// mime: A dictionary that extends the internal MIME type support. Maps extensions into new MIME types
// note: This option only adds MIME to the sever. `file_types` above have to be set for the server to serve them.

View File

@ -145,7 +145,9 @@
"xap",
"apk",
"cur",
"xml"
"xml",
"svg",
"webp"
],
// mime: A dictionary that extends the internal MIME type support. Maps extensions into new MIME types
// note: This option only adds MIME to the sever. `file_types` above have to be set for the server to serve them.