-
-
Save parzibyte/4649876d13ccf67f9d22cffe887cd823 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async obtenerIp() { | |
this.cargando = true; | |
const ip = await AjustesService.obtenerIp(); | |
this.direccionServidor = `${window.location.protocol}//${ip}:${window.location.port}${window.location.pathname}${window.location.hash}`; | |
new QRious({ | |
element: this.$refs.imagenQr, | |
value: this.direccionServidor, | |
size: 200, | |
backgroundAlpha: 1, | |
foreground: "#000000", | |
level: "H", | |
}); | |
this.cargando = false; | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment