diff --git a/src/main/default/lwc/qrCode/qrCode.js b/src/main/default/lwc/qrCode/qrCode.js index fb42643..01e8faf 100644 --- a/src/main/default/lwc/qrCode/qrCode.js +++ b/src/main/default/lwc/qrCode/qrCode.js @@ -8,8 +8,8 @@ export default class QrCode extends LightningElement { if (!this.url) { return null; } - return `https://chart.googleapis.com/chart?chs=${this.size}x${ + return `https://api.qrserver.com/v1/create-qr-code/?size=${this.size}x${ this.size - }&cht=qr&chl=${encodeURIComponent(this.url)}`; + }&data=${encodeURIComponent(this.url)}`; } }