diff --git a/index.html b/index.html index bfa2377..e59b10c 100644 --- a/index.html +++ b/index.html @@ -32,7 +32,7 @@ // 否则请标明原仓库地址 setTimeout(()=>{ const {host} = location - if(host!=='localhost'||!host.endsWith('streakingman.com')){ + if(host!=='localhost'&&!host.endsWith('streakingman.com')){ const a = document.createElement('a') a.setAttribute('href','https://github.com/StreakingMan/solvable-sheep-game') a.setAttribute('target','_blank')