Переглянути джерело

:bug: v2.7.1-dev3解锁失效 Fix https://github.com/siyuan-note/siyuan/issues/7166 Fix https://github.com/siyuan-note/siyuan/pull/7161

Liang Ding 2 роки тому
батько
коміт
bea767d4a6
1 змінених файлів з 1 додано та 2 видалено
  1. 1 2
      app/stage/auth.html

+ 1 - 2
app/stage/auth.html

@@ -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>