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