mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-02 03:29:24 +08:00
🎨 Improve mobile boot
This commit is contained in:
parent
39386ff4f5
commit
facccdf9b6
@ -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…
Reference in New Issue
Block a user