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

wangzx pushed a commit to branch gh-pages
in repository https://gitbox.apache.org/repos/asf/echarts-examples.git


The following commit(s) were added to refs/heads/gh-pages by this push:
     new b38ec03c change staticfile CDN domain
b38ec03c is described below

commit b38ec03cd27afb660eaa7d333d087af24b1a1303
Author: plainheart <[email protected]>
AuthorDate: Sun Mar 17 00:21:39 2024 +0800

    change staticfile CDN domain
---
 public/zh/editor.html       | 2 +-
 public/zh/index.html        | 2 +-
 public/zh/view.html         | 2 +-
 src/common/config.js        | 6 +++---
 src/editor/sandbox/index.js | 3 ++-
 5 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/public/zh/editor.html b/public/zh/editor.html
index 194c4571..c1f2e694 100644
--- a/public/zh/editor.html
+++ b/public/zh/editor.html
@@ -27,7 +27,7 @@
       
href="https://lib.baomitu.com/element-ui/2.15.14/theme-chalk/index.min.css";
     />
     <script src="https://lib.baomitu.com/vue/2.6.14/vue.min.js";></script>
-    <script 
src="https://cdn.staticfile.org/jquery/3.7.1/jquery.min.js";></script>
+    <script 
src="https://cdn.staticfile.net/jquery/3.7.1/jquery.min.js";></script>
     <script 
src="https://lib.baomitu.com/twitter-bootstrap/3.4.1/js/bootstrap.min.js";></script>
     <script 
src="https://lib.baomitu.com/element-ui/2.15.14/index.min.js";></script>
   </head>
diff --git a/public/zh/index.html b/public/zh/index.html
index b69b6938..711a7f4b 100644
--- a/public/zh/index.html
+++ b/public/zh/index.html
@@ -27,7 +27,7 @@
       
href="https://lib.baomitu.com/element-ui/2.15.14/theme-chalk/index.min.css";
     />
     <script src="https://lib.baomitu.com/vue/2.6.14/vue.min.js";></script>
-    <script 
src="https://cdn.staticfile.org/jquery/3.7.1/jquery.min.js";></script>
+    <script 
src="https://cdn.staticfile.net/jquery/3.7.1/jquery.min.js";></script>
     <script 
src="https://lib.baomitu.com/twitter-bootstrap/3.4.1/js/bootstrap.min.js";></script>
     <script 
src="https://lib.baomitu.com/element-ui/2.15.14/index.min.js";></script>
   </head>
diff --git a/public/zh/view.html b/public/zh/view.html
index 7c1f4233..66226516 100644
--- a/public/zh/view.html
+++ b/public/zh/view.html
@@ -27,7 +27,7 @@
       
href="https://lib.baomitu.com/element-ui/2.15.14/theme-chalk/index.min.css";
     />
     <script src="https://lib.baomitu.com/vue/2.6.14/vue.min.js";></script>
-    <script 
src="https://cdn.staticfile.org/jquery/3.7.1/jquery.min.js";></script>
+    <script 
src="https://cdn.staticfile.net/jquery/3.7.1/jquery.min.js";></script>
     <script 
src="https://lib.baomitu.com/twitter-bootstrap/3.4.1/js/bootstrap.min.js";></script>
     <script 
src="https://lib.baomitu.com/element-ui/2.15.14/index.min.js";></script>
   </head>
diff --git a/src/common/config.js b/src/common/config.js
index 5abdc9b9..4cecae9c 100644
--- a/src/common/config.js
+++ b/src/common/config.js
@@ -158,13 +158,13 @@ const SCRIPT_URLS_CN = {
   echartsStatJS: 
`${CDN_ROOT_CN_NPM}echarts-stat/latest/files/dist/ecStat.min.js`,
   echartsGLJS: `${CDN_ROOT_CN_NPM}echarts-gl/2/files/dist/echarts-gl.min.js`,
   datGUIMinJS: `${CDN_ROOT_CN}dat-gui/0.6.5/dat.gui.min.js`,
-  monacoDir: `https://cdn.staticfile.org/monaco-editor/0.27.0/min/vs`,
+  monacoDir: `https://cdn.staticfile.net/monaco-editor/0.27.0/min/vs`,
   aceDir: `${CDN_ROOT_CN_NPM}ace-builds/1.4.12/files/src-min-noconflict`,
   prettierDir: `${CDN_ROOT_CN}prettier/2.3.2`,
   highlightjsDir: `${CDN_ROOT_CN_NPM}@highlightjs/cdn-assets/11.8.0/files`,
   seedrandomJS: `${CDN_ROOT_CN}seedrandom/3.0.5/seedrandom.min.js`,
-  jQueryJS: `https://cdn.staticfile.org/jquery/3.7.1/jquery.min.js`,
-  acornJS: `https://cdn.staticfile.org/acorn/8.7.1/acorn.min.js`,
+  jQueryJS: `https://cdn.staticfile.net/jquery/3.7.1/jquery.min.js`,
+  acornJS: `https://cdn.staticfile.net/acorn/8.7.1/acorn.min.js`,
 
   bmapLibJS: SCRIPT_URLS.bmapLibJS,
   echartsBMapJS: SCRIPT_URLS.echartsBMapJS
diff --git a/src/editor/sandbox/index.js b/src/editor/sandbox/index.js
index 890036e5..d3613e90 100644
--- a/src/editor/sandbox/index.js
+++ b/src/editor/sandbox/index.js
@@ -87,7 +87,8 @@ export function createSandbox(
             'unpkg.zhimg.com',
             'npm.elemecdn.com',
             'registry.npmmirror.com',
-            'cdn.staticfile.org'
+            'cdn.staticfile.org',
+            'cdn.staticfile.net'
           ];
           store.isPR && domains.push(`echarts-pr-${store.prNumber}.surge.sh`);
           return domains;


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

Reply via email to