This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-www.git


The following commit(s) were added to refs/heads/master by this push:
     new fb103b0  use apache cdn for download js
fb103b0 is described below

commit fb103b0d771e79c87d36ac24b08561fc5744e8b9
Author: pissang <[email protected]>
AuthorDate: Mon Nov 1 12:37:07 2021 +0800

    use apache cdn for download js
---
 _jade/components/download.jade | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/_jade/components/download.jade b/_jade/components/download.jade
index bb91009..4dd2a82 100644
--- a/_jade/components/download.jade
+++ b/_jade/components/download.jade
@@ -168,7 +168,8 @@ block content
 
 
 block extra_js
-    script(src="#{getAssetUrl(cdnPayRoot, ecWWWLang + '/js/download.js')}")
+    //- Force use apache cdn to avoid jsdelivr not update immediately.
+    script(src="#{getAssetUrl('https://echarts.apache.org', ecWWWLang + 
'/js/download.js')}")
     script(type='text/javascript').
         document.getElementById('nav-download').className = 'active';
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to