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 f6cfb49a4 chore: update .htaccess f6cfb49a4 is described below commit f6cfb49a48e095f833abbfe17911eb6e23ed5218 Author: Zhongxiang Wang <y...@all-my-life.cn> AuthorDate: Fri Oct 27 22:39:13 2023 +0800 chore: update .htaccess --- .htaccess | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.htaccess b/.htaccess index 98322bf24..cab07997c 100644 --- a/.htaccess +++ b/.htaccess @@ -13,9 +13,9 @@ RedirectMatch 404 /\.asf\.yaml Header set Access-Control-Allow-Headers "*" Header set X-XSS-Protection "1; mode=block" Header set X-Frame-Options "sameorigin" + Header set X-Content-Type-Options "nosniff" </IfModule> - <IfModule mod_expires.c> ExpiresActive on @@ -29,7 +29,7 @@ RedirectMatch 404 /\.asf\.yaml ExpiresDefault "access plus 10 days" </IfModule> -# no cahce for root index redirection +# no cache for root index redirection <If "%{REQUEST_URI} =~ m#^/?(((examples)|(handbook))/?)?([\w\-]+\.html)?$#"> <IfModule mod_expires.c> ExpiresActive off @@ -61,4 +61,3 @@ RedirectMatch 404 /\.asf\.yaml RewriteRule ^/?([\w\-]+)\.html$ "/en/$1.html" [L,R=302] </IfModule> - --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org