This is an automated email from the ASF dual-hosted git repository.
wangzx pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/echarts-website.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 0893826f3 try adding MIME type for webp/avif/apng
0893826f3 is described below
commit 0893826f3de51b75a842789a9fffa0832570d491
Author: Zhongxiang Wang <[email protected]>
AuthorDate: Fri Feb 23 08:46:07 2024 +0800
try adding MIME type for webp/avif/apng
---
.htaccess | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/.htaccess b/.htaccess
index cab07997c..20ebde739 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,5 +1,9 @@
AddDefaultCharset UTF-8
+AddType image/webp .webp
+AddType image/avif .avif
+AddType image/apng .apng
+
RedirectMatch 404 /\.git
RedirectMatch 404 /\.gitignore
RedirectMatch 404 /\.htaccess
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]