Skip to content

Commit

Permalink
fix: fix base url
Browse files Browse the repository at this point in the history
Signed-off-by: frank-zsy <[email protected]>
  • Loading branch information
frank-zsy committed Feb 7, 2024
1 parent c9c1973 commit 109e9be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/table.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 109e9be

Please sign in to comment.