🎨 Improve mobile boot

This commit is contained in:
Daniel 2024-12-04 11:25:34 +08:00
parent 39386ff4f5
commit facccdf9b6
No known key found for this signature in database
GPG Key ID: 86211BA83DF03017

View File

@ -52,9 +52,6 @@
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 () => {