You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2020/05/06 18:40:28 UTC
[incubator-echarts-website] 01/03: add CORS.
This is an automated email from the ASF dual-hosted git repository.
sushuang pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/incubator-echarts-website.git
commit 00634d7c80c79f44bf5a6eeb2b0b146e38c38a45
Author: 100pah <su...@gmail.com>
AuthorDate: Thu May 7 00:45:30 2020 +0800
add CORS.
---
.htaccess | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/.htaccess b/.htaccess
index 5e506b1..b017eba 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,3 +1,7 @@
+Header set Access-Control-Allow-Origin "https://echarts.apache.org"
+Header set Access-Control-Allow-Methods: "*"
+Header set Access-Control-Allow-Headers: "*"
+
<IfModule mod_expires.c>
ExpiresActive on
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org