From 109e9be553c45d4e07d255e5a5c231f330bad30f Mon Sep 17 00:00:00 2001 From: frank-zsy Date: Wed, 7 Feb 2024 16:01:06 +0800 Subject: [PATCH] fix: fix base url Signed-off-by: frank-zsy --- src/components/table.js | 2 +- src/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/table.js b/src/components/table.js index 3111110..60830b7 100644 --- a/src/components/table.js +++ b/src/components/table.js @@ -333,7 +333,7 @@ function MyTable(props) { showSize: 25, loading: true, url: '', // base + index + object + region + yearmonth + .json - base: 'https://xlab-open-source.oss-cn-beijing.aliyuncs.com/open_leaderboard/', + base: 'https://oss.x-lab.info/open_leaderboard/', year: null, // 字符串格式 month: null, // 整数格式,0表示1月,1表示2月..., null for year type time type: 'month', diff --git a/src/index.js b/src/index.js index bea1af1..1e33053 100644 --- a/src/index.js +++ b/src/index.js @@ -12,7 +12,7 @@ import ScrollTopButton from './components/scrollTopButton'; const { Content } = Layout; const META_URL = - 'https://xlab-open-source.oss-cn-beijing.aliyuncs.com/open_leaderboard/meta.json'; + 'https://oss.x-lab.info/open_leaderboard/meta.json'; const App = () => { const NODE_ENV = process.env.NODE_ENV;