🎨 Improve mobile boot
This commit is contained in:
parent
39386ff4f5
commit
facccdf9b6
1 changed files with 1 additions and 4 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Reference in a new issue