mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 Improve mobile boot
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user