Browse Source

:art: Improve mobile boot

Daniel 7 tháng trước cách đây
mục cha
commit
facccdf9b6
1 tập tin đã thay đổi với 1 bổ sung4 xóa
  1. 1 4
      app/appearance/boot/index.html

+ 1 - 4
app/appearance/boot/index.html

@@ -52,10 +52,7 @@
 
 
     const redirect = () => {
     const redirect = () => {
         const uri = 'http://127.0.0.1:' + location.port
         const uri = 'http://127.0.0.1:' + location.port
-        if (navigator.userAgent.match(/Android/i))
-            document.location = uri
-        else
-            window.location.replace(uri)
+        window.location.replace(uri)
     }
     }
     (async () => {
     (async () => {
         const v = getSearch('v')
         const v = getSearch('v')