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 42989c65 change CDN domain for zh page
new 1bb89450 Merge branch 'gh-pages' of
https://github.com/apache/echarts-examples into gh-pages
42989c65 is described below
commit 42989c65c3c36471a37fbfc7796ff50df517140f
Author: plainheart <[email protected]>
AuthorDate: Tue Jun 25 11:08:02 2024 +0800
change CDN domain for zh page
---
public/zh/editor.html | 2 +-
public/zh/index.html | 2 +-
public/zh/view.html | 2 +-
src/common/config.js | 6 +++---
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/public/zh/editor.html b/public/zh/editor.html
index c1f2e694..e083b636 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.net/jquery/3.7.1/jquery.min.js"></script>
+ <script
src="https://registry.npmmirror.com/jquery/3.7.1/files/dist/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 711a7f4b..8d6aef82 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.net/jquery/3.7.1/jquery.min.js"></script>
+ <script
src="https://registry.npmmirror.com/jquery/3.7.1/files/dist/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 66226516..7fbe3357 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.net/jquery/3.7.1/jquery.min.js"></script>
+ <script
src="https://registry.npmmirror.com/jquery/3.7.1/files/dist/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 01c0adca..dac64622 100644
--- a/src/common/config.js
+++ b/src/common/config.js
@@ -160,13 +160,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.net/monaco-editor/0.27.0/min/vs`,
+ monacoDir: `${CDN_ROOT_CN_NPM}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.net/jquery/3.7.1/jquery.min.js`,
- acornJS: `https://cdn.staticfile.net/acorn/8.7.1/acorn.min.js`,
+ jQueryJS: `${CDN_ROOT_CN_NPM}jquery/3.7.1/files/dist/jquery.min.js`,
+ acornJS: `${CDN_ROOT_CN_NPM}acorn/8.7.1/files/dist/acorn.js`,
bmapLibJS: SCRIPT_URLS.bmapLibJS,
echartsBMapJS: SCRIPT_URLS.echartsBMapJS,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]