fix: update URLs in Diploma and VistaPreviaDiplomaDialog components to use HTTP instead of HTTPS
This commit is contained in:
parent
1933f42d26
commit
25c8161240
|
@ -85,7 +85,7 @@ export default function Diploma({ alumno, formacion, fecha, qr }) {
|
|||
</Text>
|
||||
{qr && <Image src={qr} style={styles.qr} />}
|
||||
<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>
|
||||
</Page>
|
||||
</Document>
|
||||
|
|
|
@ -48,7 +48,7 @@ function VistaPreviaDiplomaDialog({
|
|||
|
||||
useEffect(() => {
|
||||
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) => {
|
||||
if (!err) setQrDataUrl(url);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue