1.1
Browse files- campainha.html +1 -1
campainha.html
CHANGED
|
@@ -48,7 +48,7 @@ function iniciarHost() {
|
|
| 48 |
document.getElementById("areaVisitante").style.display = "none";
|
| 49 |
|
| 50 |
codigoSala = "campainha_" + Math.floor(Math.random() * 100000);
|
| 51 |
-
new QRCode(document.getElementById("qrcode"), window.location.
|
| 52 |
|
| 53 |
ws = new WebSocket(servidor);
|
| 54 |
ws.onopen = () => {
|
|
|
|
| 48 |
document.getElementById("areaVisitante").style.display = "none";
|
| 49 |
|
| 50 |
codigoSala = "campainha_" + Math.floor(Math.random() * 100000);
|
| 51 |
+
new QRCode(document.getElementById("qrcode"), window.location.href + "?sala=" + codigoSala);
|
| 52 |
|
| 53 |
ws = new WebSocket(servidor);
|
| 54 |
ws.onopen = () => {
|