This commit is contained in:
Easy 2022-02-16 11:28:32 +08:00
parent c938f02de1
commit ab15e50950
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
<script>
const hostname = window.location.hostname;
let urlinfo = window.origin;
if( hostname == 'localhost' || hostname == '127.0.0.1' ) urlinfo = '您使用的是本机专用地址,请使用局域网或者网地址测试';
if( hostname == 'localhost' || hostname == '127.0.0.1' ) urlinfo = '您使用的是本机专用地址,请使用局域网或者网地址测试';
window.document.querySelector("#url").innerHTML=urlinfo;
</script>
</body>