From e98fd38a8770e498534a54d62b4651ccbd761e1e Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 27 Feb 2023 11:42:29 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/7500 --- app/stage/auth.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/stage/auth.html b/app/stage/auth.html index 82f16c7e4..698e10c04 100644 --- a/app/stage/auth.html +++ b/app/stage/auth.html @@ -505,7 +505,7 @@ return response.json() }).then((response) => { if (0 === response.code) { - window.location.href = window.location.search.replace('?url=', '') + window.location.href = window.location.search.replace('?url=', '') || "/" return }