Liang Ding 2023-01-26 10:59:40 +08:00
parent 9e52b489a7
commit bea767d4a6
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -530,8 +530,7 @@
}
// 用于授权页保持连接,避免非常驻内存内核自动退出 https://github.com/siyuan-note/insider/issues/1099
new WebSocket(
window.location.protocol === 'https:' ? 'wss' : 'ws' + '://' + window.location.host + '/ws?app=siyuan&id=auth')
new WebSocket((window.location.protocol === 'https:' ? 'wss' : 'ws') + '://' + window.location.host + '/ws?app=siyuan&id=auth')
</script>
</body>
</html>