Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
lijinke666 committed Dec 19, 2023
1 parent 10f2aae commit e1d14ff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion s2-site/.dumi/global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ if (window) {
// 码云和老网站统一跳转 antgroup 新域名
const hosts = ['s2.antv.vision', 'antv-s2.gitee.io'];
if (hosts.includes(location.host)) {
console.log(require('../package.json').homepage);
(window as any).location.href = location.href.replace(
location.origin,
require('../package.json').homepage || 'https://s2.antv.antgroup.com',
Expand Down
2 changes: 1 addition & 1 deletion s2-site/.dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default defineConfig({
defaultLanguage: 'zh', // 默认语言
isAntVSite: false, // 是否是 AntV 的大官网
footerTheme: 'light', // 白色 底部主题
siteUrl: 'https://s2.antv.antgroup.com', // 官网地址
siteUrl: 'https://antv.antgroup.com', // 官网地址
githubUrl: repository.url, // GitHub 地址
showSearch: true, // 是否显示搜索框
showGithubCorner: true, // 是否显示头部的 GitHub icon
Expand Down

0 comments on commit e1d14ff

Please sign in to comment.