From 09c8ea75fac199f4c3545f62f9433a1dd050f77a Mon Sep 17 00:00:00 2001 From: Jules Date: Sat, 27 Jun 2026 14:04:36 +0200 Subject: [PATCH] Fix QR code URL : utiliser /g/ au lieu de /admin/gallery/ (routes publiques) Co-Authored-By: Claude Opus 4.6 --- frontend/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/js/app.js b/frontend/js/app.js index d419f2a..91c29b4 100644 --- a/frontend/js/app.js +++ b/frontend/js/app.js @@ -363,7 +363,7 @@ async function chargerBoothInfo() { const info = await apiGet('/api/booth/info'); if (info.password) { const eventId = (config.evenement || {}).event_id || booth.event_id || 'default'; - const qrUrl = `${booth.url}/admin/gallery/${eventId}?p=${info.password}`; + const qrUrl = `${booth.url}/g/${eventId}?p=${info.password}`; document.getElementById('booth-qr').src = `/api/qr?url=${encodeURIComponent(qrUrl)}`; el.classList.remove('cache'); }