docs: redirect from the old domain (#5811)

This commit is contained in:
neverland 2024-06-02 18:13:20 +08:00 committed by GitHub
parent c6b4004893
commit e5af691c4c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,6 +22,16 @@ export default {
},
syncPathFromSimulator: false,
},
icpLicense: {
text: '浙ICP备2021036118号',
link: 'https://beian.miit.gov.cn/',
},
headHtml: `<script>
if (location.host === 'youzan.github.io') {
location.href = location.href.replace('youzan.github.io', 'vant-ui.github.io');
}
</script>
`,
links: [
{
logo: 'https://img.yzcdn.cn/vant/vant-o.svg',