From 13915df0d3b39bc0b244e9469eba0d46fdc93c1a Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Fri, 22 Jan 2021 13:21:22 -0700 Subject: [PATCH] Set QR ec level --- www/assets/js/addresscode.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/assets/js/addresscode.js b/www/assets/js/addresscode.js index 0ad1097..6289248 100644 --- a/www/assets/js/addresscode.js +++ b/www/assets/js/addresscode.js @@ -22,6 +22,7 @@ function getAddressQRCode() { scale: 5, // 3x scaling factor includetext: false, // Show human-readable text textxalign: 'center', // Always good to set this + eclevel: 'M' }); document.getElementById("addresscode-barcode").src = canvas.toDataURL('image/png');