fix: redirect

This commit is contained in:
chenjiahan 2024-05-02 15:03:31 +08:00
parent 0e455a5818
commit 7d22a86eca
2 changed files with 12 additions and 0 deletions

View File

@ -9,6 +9,12 @@
<link rel="shortcut icon" href="https://img.yzcdn.cn/zanui/vant/vant-2017-12-18.ico">
<title>Vant Weapp - 轻量、可靠的小程序 UI 组件库</title>
<script>window.Promise || document.write('<script src="//img.yzcdn.cn/huiyi/build/h5/js/pinkie.min.js"><\/script>');</script>
<script>
if (location.host === 'youzan.github.io') {
location.href = location.href.replace('youzan.github.io', 'vant-ui.github.io');
}
</script>
<script>
var _hmt = _hmt || [];
(function() {

View File

@ -16,6 +16,12 @@
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<script>
if (location.host === 'youzan.github.io') {
location.href = location.href.replace('youzan.github.io', 'vant-ui.github.io');
}
</script>
<script>
var _hmt = _hmt || [];
(function () {