fix: use cache-busting 'verify_qr' route to bypass Varnish cache caching old 302 redirects

This commit is contained in:
Hamza-Ayed
2026-05-15 21:59:36 +03:00
parent 53284b971a
commit e0dc1712ca
3 changed files with 5 additions and 5 deletions

View File

@@ -3039,7 +3039,7 @@
getQrSrc(inv) {
if (!inv) return '';
if (inv.jofotara?.qr_image_uri) return inv.jofotara.qr_image_uri;
const verifyUrl = `https://musadaq.intaleqapp.com/index.php?route=verify&id=${inv.id}`;
const verifyUrl = `https://musadaq.intaleqapp.com/index.php?route=verify_qr&id=${inv.id}`;
const qr = new QRious({ value: verifyUrl, size: 300, level: 'H' });
return qr.toDataURL();
},