mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 15:28:49 +01:00
🐛 桌面端内核在授权页自动退出 https://github.com/siyuan-note/insider/issues/1099
This commit is contained in:
parent
2be5545dbf
commit
30448da5dd
2 changed files with 1 additions and 3 deletions
|
|
@ -361,8 +361,6 @@
|
|||
})
|
||||
})
|
||||
})
|
||||
// 防止内核长时间不用被回收
|
||||
new WebSocket(`${window.location.protocol === "https:" ? "wss" : "ws"}://${window.location.host}/ws?app=siyuan&id=init`);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -495,7 +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>
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue