From bea767d4a67f394a119ecedabee33753200ef8a7 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Thu, 26 Jan 2023 10:59:40 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20v2.7.1-dev3=E8=A7=A3=E9=94=81=E5=A4=B1?= =?UTF-8?q?=E6=95=88=20Fix=20https://github.com/siyuan-note/siyuan/issues/?= =?UTF-8?q?7166=20Fix=20https://github.com/siyuan-note/siyuan/pull/7161?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/stage/auth.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/stage/auth.html b/app/stage/auth.html index 112505b45..2adb68651 100644 --- a/app/stage/auth.html +++ b/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')