diff --git a/.htaccess b/.htaccess index cab07997c..fc8585f12 100644 --- a/.htaccess +++ b/.htaccess @@ -42,9 +42,15 @@ RedirectMatch 404 /\.asf\.yaml + + webp|apng|avif)$"> + Header setifempty Content-Type "image/%{MATCH_imgExt}e" + + + RewriteEngine On - + RewriteCond "%{HTTP:Accept-Language}" ^zh [NC] RewriteRule ^/?(index\.html)?$ "/zh/index.html" [L,R=302]