Skip to content

Commit

Permalink
url for qrcode
Browse files Browse the repository at this point in the history
  • Loading branch information
Francois Schwarzentruber committed May 11, 2024
1 parent 0a024a1 commit e73a90d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/share.ts
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ export class Share {
const imgQRCode = <HTMLImageElement>document.getElementById("qrcode");
imgQRCode.hidden = false;
imgQRCode.src = "https://qrcode.tec-it.com/API/QRCode?data=" + url;
//"https://chart.googleapis.com/chart?cht=qr&chl=" + url + "&chs=200x200&chld=L|0"; (not working anymore)
//"https://chart.googleapis.com/chart?cht=qr&chl=" + url + "&chs=200x200&chld=L|0"; (not working)
}

const urlCorrected = url.startsWith("file://") ? config.server.frontend + "?id=" + Share.id : url;
Expand Down

0 comments on commit e73a90d

Please sign in to comment.