mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-30 21:38:48 +01:00
🎨 Clean code
This commit is contained in:
parent
28957d3ba6
commit
4bf95d0ca4
1 changed files with 2 additions and 1 deletions
|
|
@ -397,7 +397,7 @@
|
|||
exitSiYuan()
|
||||
})
|
||||
} catch (e) {
|
||||
console.log(e)
|
||||
// console.log(e)
|
||||
}
|
||||
|
||||
const exitApp = () => {
|
||||
|
|
@ -495,6 +495,7 @@
|
|||
}, 6000)
|
||||
})
|
||||
}
|
||||
|
||||
// 用于授权页保持连接,避免非常驻内存内核自动退出 https://github.com/siyuan-note/insider/issues/1099
|
||||
new WebSocket(`${window.location.protocol === "https:" ? "wss" : "ws"}://${window.location.host}/ws?app=siyuan&id=auth`);
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue