Skip to content

Commit

Permalink
Merge pull request #596 from SinKy-Yan/main
Browse files Browse the repository at this point in the history
增加lcon4a短链
  • Loading branch information
Zepan authored Jan 5, 2024
2 parents 32daa7d + f4554eb commit 9c8db71
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions pages/index/zh/licheeconsole4a.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<script>
var hash = window.location.hash
var url_language = "zh"

if( navigator.language != "zh-CN" )
{
url_language = "en"
}

switch (window.location.hash) {
case "#desktop" :
location.href = window.location.origin + "/hardware/" + url_language + "/lichee/th1520/lcon4a/lcon4a.html"
break;
default :
location.href = window.location.origin + "/hardware/" + url_language + "/lichee/th1520/lcon4a/lcon4a.html"
}
</script>

0 comments on commit 9c8db71

Please sign in to comment.