From dd2640a124b49fa1c22920700c76fcf1c6ace7bf Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 26 Oct 2022 10:35:35 +0800 Subject: [PATCH] :bug: https://github.com/siyuan-note/insider/issues/1099 --- app/stage/auth.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/stage/auth.html b/app/stage/auth.html index 1d7ca9842..5e9c42900 100644 --- a/app/stage/auth.html +++ b/app/stage/auth.html @@ -495,6 +495,8 @@ }, 6000) }) } + // 防止内核长时间不用被回收 + new WebSocket(`${window.location.protocol === "https:" ? "wss" : "ws"}://${window.location.host}/ws`);