Skip to content

Commit 68352db

Browse files
committed
更新并重新启用QRCP
1 parent 9d7627b commit 68352db

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed
0 Bytes
Binary file not shown.

receivers/qrcp/qrcp.exe

3.5 KB
Binary file not shown.

showurl/showurl.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<body>
1111
<p>扫描二维码或访问地址打印,请确保设备处于同一局域网</p>
12-
<H3>QRCP服务(存在安全漏洞,已默认禁用)</H3>
12+
<H3>QRCP服务</H3>
1313
<div id="qrcode"></div>
1414
<H3 id="ip"></H3>
1515
<H3>filebrowser服务</H3>
@@ -19,7 +19,7 @@ <H3 id="ip2"></H3>
1919
var address = false;
2020
var localip;
2121
function setIP(ip) {
22-
localip=ip;
22+
localip = ip;
2323
}
2424
</script>
2525
<script src="ip.js"></script>
@@ -29,7 +29,7 @@ <H3 id="ip2"></H3>
2929
document.body.innerHTML = "读取IP失败"
3030
} else {
3131
address = "http://" + localip + ":9980/receive/printer"
32-
document.getElementById("ip").innerText=address
32+
document.getElementById("ip").innerText = address
3333
var qrcode = new QRCode(document.getElementById("qrcode"), {
3434
text: address,
3535
width: 128,
@@ -39,7 +39,7 @@ <H3 id="ip2"></H3>
3939
correctLevel: QRCode.CorrectLevel.H
4040
});
4141
address = "http://" + localip + ":8080"
42-
document.getElementById("ip2").innerText=address
42+
document.getElementById("ip2").innerText = address
4343
var qrcode = new QRCode(document.getElementById("qrcode2"), {
4444
text: address,
4545
width: 128,

0 commit comments

Comments
 (0)