统一微信二维码分享链接 (#236)

This commit is contained in:
i-abc 2023-01-12 14:02:31 +08:00 committed by GitHub
parent 5f733646cc
commit 9b1cc49332
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ function layoutDiv() {
el += '</div>';
if (theme.article.share.includes('wechat')) {
el += '<div class="qrcode" id="qrcode-wechat" style="visibility:hidden;height:0">';
el += '<img src="https://api.qrserver.com/v1/create-qr-code/?size=256x256&data=' + url + '"/>';
el += '<img src="https://api.qrserver.com/v1/create-qr-code/?size=256x256&data=' + page.permalink + '"/>';
el += '</div>';
}
el += '</div>';