fix: update URLs in Diploma and VistaPreviaDiplomaDialog components to use HTTP instead of HTTPS

This commit is contained in:
SirRobert-1 2025-06-14 20:54:35 -06:00
parent 1933f42d26
commit 25c8161240
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ export default function Diploma({ alumno, formacion, fecha, qr }) {
</Text> </Text>
{qr && <Image src={qr} style={styles.qr} />} {qr && <Image src={qr} style={styles.qr} />}
<Text style={styles.footer}> <Text style={styles.footer}>
Verifica este diploma en: https://localhost:3000/alumno/{alumno?.id} Verifica este diploma en: http://localhost:3000/alumno/{alumno?.id}
</Text> </Text>
</Page> </Page>
</Document> </Document>

View File

@ -48,7 +48,7 @@ function VistaPreviaDiplomaDialog({
useEffect(() => { useEffect(() => {
if (alumno?.id) { if (alumno?.id) {
const url = `https://localhost:3000/alumno/${alumno.id}`; const url = `http://localhost:3000/alumno/${alumno.id}`;
QRCode.toDataURL(url, { width: 200 }, (err, url) => { QRCode.toDataURL(url, { width: 200 }, (err, url) => {
if (!err) setQrDataUrl(url); if (!err) setQrDataUrl(url);
}); });