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 2022/09/26 11:05:49 UTC

[echarts-www] branch master updated: fix(theme): always download latest theme from CDN

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

wangzx 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 ccc45dfa fix(theme): always download latest theme from CDN
ccc45dfa is described below

commit ccc45dfa1f0880e76f5b6f1f9c033e4ae68a2ccf
Author: plainheart <yh...@all-my-life.cn>
AuthorDate: Mon Sep 26 19:04:55 2022 +0800

    fix(theme): always download latest theme from CDN
---
 _jade/en/download-theme.jade | 2 +-
 _jade/zh/download-theme.jade | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/_jade/en/download-theme.jade b/_jade/en/download-theme.jade
index d49c66f1..ef0835ba 100644
--- a/_jade/en/download-theme.jade
+++ b/_jade/en/download-theme.jade
@@ -23,7 +23,7 @@ block content
             .row
                 each themeName, idx in theme
                     .col-sm-4.theme
-                        a(class="download-theme" href="#{cdnPayRoot}/#{ecWWWLang}/asset/theme/#{themeName}.js?_v_=#{cdnPayVersion}" download="#{themeName}.js" target="_blank")
+                        a(class="download-theme" href="https://fastly.jsdelivr.net/npm/echarts/theme/#{themeName}.js?_v_=#{cdnPayVersion}" download="#{themeName}.js" target="_blank")
                             img(src="#{cdnPayRoot}/#{ecWWWLang}/asset/theme/thumb/#{themeName}.png?_v_=#{cdnPayVersion}" alt="")
                         p #{themeName}
 
diff --git a/_jade/zh/download-theme.jade b/_jade/zh/download-theme.jade
index d8393f50..121e2103 100644
--- a/_jade/zh/download-theme.jade
+++ b/_jade/zh/download-theme.jade
@@ -19,7 +19,7 @@ block content
             .row
                 each themeName, idx in theme
                     .col-sm-4.theme
-                        a(class="download-theme" href="#{cdnPayRoot}/#{ecWWWLang}/asset/theme/#{themeName}.js?_v_=#{cdnPayVersion}" download="#{themeName}.js" target="_blank")
+                        a(class="download-theme" href="https://fastly.jsdelivr.net/npm/echarts/theme/#{themeName}.js?_v_=#{cdnPayVersion}" download="#{themeName}.js" target="_blank")
                             img(src="#{cdnPayRoot}/#{ecWWWLang}/asset/theme/thumb/#{themeName}.png?_v_=#{cdnPayVersion}" alt="")
                         p #{themeName}
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org