diff --git a/qr-login.html b/qr-login.html index ade7d5e..e7d77b1 100644 --- a/qr-login.html +++ b/qr-login.html @@ -35,7 +35,7 @@ layout: default userPrompt.innerHTML = `请复制代码 ${userCode}
并前往 ${verificationUri},输入代码允许访问并登录微软账户。`; qrcodeContainer.appendChild(userPrompt); } else { - const currentUrl = window.location.href + '?login=1'; + const currentUrl = window.location.href + '&login=1'; console.log("currentUrl: ", currentUrl); const canvas = document.createElement('canvas'); QRCode.toCanvas(canvas, currentUrl, function (error) {