fix-https-share-qrcode

This commit is contained in:
unknown
2025-12-19 10:50:29 +08:00
parent b688fa26a3
commit 21f9d03c89

View File

@@ -535,7 +535,7 @@ function shareKey() {
sharekey.html(res) sharekey.html(res)
globalShareKey = res globalShareKey = res
sharelink.html(window.location.href.split("/")[0] + "//"+window.location.host + "/observe?sid=" + globalShareKey) sharelink.html(window.location.href.split("/")[0] + "//"+window.location.host + "/observe?sid=" + globalShareKey)
sharelink.attr("href", "http://"+window.location.host + "/observe?sid=" + globalShareKey) sharelink.attr("href", window.location.href.split("/")[0] + "//"+window.location.host + "/observe?sid=" + globalShareKey)
sharelink.css("color","#1cc88a") sharelink.css("color","#1cc88a")
} else } else
showtext(res) showtext(res)