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;