Merge branch 'develop' of https://gitee.com/likeadmin/likeadmin_java into develop

This commit is contained in:
TinyAnts 2023-01-10 17:31:12 +08:00
commit 8b450e991f
1 changed files with 5 additions and 1 deletions

View File

@ -10,7 +10,11 @@
<body>
<script>
window.location.href = '/mobile'
var isMobile = function () {
var u = navigator.userAgent
return /Mobile|Android|webOS|iPhone|iPad|Phone/i.test(u)
}
window.location.href = isMobile() ? '/mobile' : '/pc'
</script>
</body>