You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2021/09/19 07:21:56 UTC
[echarts-website] branch asf-site updated: cannot solve cors issue
for http scheme
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 a5605f6 cannot solve cors issue for http scheme
a5605f6 is described below
commit a5605f6c0a1e3e52f01e8bee220bba16c90ef498
Author: Zhongxiang.Wang <yh...@all-my-life.cn>
AuthorDate: Sun Sep 19 15:21:54 2021 +0800
cannot solve cors issue for http scheme
---
.htaccess | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/.htaccess b/.htaccess
index 22f24c8..3764cfc 100644
--- a/.htaccess
+++ b/.htaccess
@@ -8,9 +8,7 @@ RedirectMatch 404 /\.github
RedirectMatch 404 /\.asf\.yaml
<IfModule mod_headers.c>
- Header set Access-Control-Allow-Origin: http://echarts.apache.org
- #Header set Access-Control-Allow-Origin: https://echarts.apache.org env=HTTPS
- Header set Access-Control-Allow-Origin: "https://echarts.apache.org" "expr=%{REQUEST_SCHEME} == 'https'"
+ Header set Access-Control-Allow-Origin: https://echarts.apache.org
Header set Access-Control-Allow-Methods "*"
Header set Access-Control-Allow-Headers "*"
</IfModule>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org