Skip to content

Commit

Permalink
Update qr-login.html
Browse files Browse the repository at this point in the history
  • Loading branch information
zkitefly authored Oct 3, 2024
1 parent a428e4d commit d2f39a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qr-login.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
userPrompt.innerHTML = `请复制代码 <span class="selectable" id="userCode">${userCode}</span> <br>并前往 <a href="${verificationUri}">${verificationUri}</a>,输入代码允许访问并登录微软账户。`;
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) {
Expand Down

0 comments on commit d2f39a9

Please sign in to comment.