diff --git a/server/src/index.js b/server/src/index.js index e015b9d..28b1d4b 100644 --- a/server/src/index.js +++ b/server/src/index.js @@ -267,6 +267,71 @@ app.get('/.well-known/assetlinks.json', (req, res) => { const LATEST_APK_URL = 'https://git.pontualtech.work/karlao/shivao-projeto/releases/download/v1.3.0/Shivao-v1.3.0.apk'; app.get('/apk', (req, res) => res.redirect(302, LATEST_APK_URL)); +// Página A4 imprimível com QR Code + instruções (cola no barco/marina) +app.get('/imprimir', (req, res) => { + const url = `https://${req.headers.host || 'shivao.pontualtech.work'}/apk`; + const qrApi = `https://api.qrserver.com/v1/create-qr-code/?size=480x480&data=${encodeURIComponent(url)}&color=0e2a3d&bgcolor=ffffff&qzone=2&format=png`; + res.type('html').send(`