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

ovilia pushed a commit to branch feat-chord
in repository https://gitbox.apache.org/repos/asf/echarts-examples.git

commit 3faaa551890c7f2646ce4dbc581f9ee2ec4c27e7
Author: Ovilia <[email protected]>
AuthorDate: Thu Oct 30 16:32:04 2025 +0800

    feat: add simple chord example
---
 src/common/config.js | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/src/common/config.js b/src/common/config.js
index b24347aa..a5399fc0 100644
--- a/src/common/config.js
+++ b/src/common/config.js
@@ -127,7 +127,7 @@ const SCRIPT_URLS = {
   latestEChartsDir: `${CDN_ROOT}echarts`,
   echartsJS: '/dist/echarts.min.js',
 
-  localEChartsDir: 'http://localhost/echarts',
+  localEChartsDir: 'http://localhost:8080',
   localEChartsGLDir: 'http://localhost/echarts-gl',
 
   prPreviewEChartsDir: 'https://echarts-pr-{{PR_NUMBER}}.surge.sh',
@@ -153,18 +153,6 @@ const SCRIPT_URLS = {
   echartsGraphModularityJS: 
`${CDN_ROOT}echarts-graph-modularity/dist/echarts-graph-modularity.min.js`
 };
 
-if (typeof CONFIG_LOCAL !== 'undefined') {
-  // CONFIG_LOCAL may be defined `echarts-examples/config/config.local.js`,
-  // and introduced by `echarts-examples/build/webpack.config.js`.
-  if (CONFIG_LOCAL.SCRIPT_URLS) {
-    Object.keys(CONFIG_LOCAL.SCRIPT_URLS).forEach(key => {
-      if (CONFIG_LOCAL.SCRIPT_URLS[key]) {
-        SCRIPT_URLS[key] = CONFIG_LOCAL.SCRIPT_URLS[key];
-      }
-    });
-  }
-}
-
 // const SCRIPT_URLS_CN = {
 //   echartsDir: `${CDN_ROOT_CN_NPM}echarts/{{version}}/files`,
 //   echartsNightlyDir: `${CDN_ROOT_CN_NPM}echarts-nightly/{{version}}/files`,


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

Reply via email to