From d1d7c6b2f06e3d67a4edf6cabc14a3fa419d5d93 Mon Sep 17 00:00:00 2001 From: streakingman Date: Wed, 21 Sep 2022 10:11:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20host=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')