🎉 Sync 2026-04-20 23:57:06

This commit is contained in:
github-actions[bot] committed 2026-04-20 23:57:06 +08:00
1 parent ede68af29e
commit c8457a2742
27 files changed
+1000 -151

No files matched your search

@@ -52,5 +52,22 @@ local api = self.api
}
});
}
function fetchCertSha256() {
XHR.get('<%=api.url("fetch_certsha256")%>', { id: node_id }, function(x, res) {
if (!x || x.status !== 200) {
alert("<%:Error%>");
return;
}
if (!res || res.code !== 0 || !res.data) {
alert(res && res.msg ? res.msg : "<%:Fetch Failed%> !");
return;
}
const inputs = document.querySelectorAll('input[id$=".xray_tls_CertSha"]');
inputs.forEach(function(input) {
input.value = res.data;
});
});
}
//]]>
</script>