🎨 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,10 +52,7 @@
const redirect = () => {
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 () => {
const v = getSearch('v')