chore: disable cn redirect temporarily (#7485)

This commit is contained in:
iamkun
2022-05-04 13:03:09 +08:00
committed by GitHub
parent eda5bd8695
commit 9d78cd7f5e

View File

@@ -68,6 +68,8 @@ onMounted(async () => {
)
if (lang.value === 'zh-CN') {
// disable cn redirect temporarily
if (Math.random() < 1000) return
if (isMirrorUrl()) return
if (userPrefer.value) {