feat: 升级 Openresty 版本到 1.21.4.3-3-3 (#1639)

This commit is contained in:
zhengkunwang
2024-06-25 10:08:35 +08:00
committed by GitHub
parent 920511525b
commit 8c7b636950
54 changed files with 27 additions and 10 deletions
@@ -0,0 +1,24 @@
window.onload = function () {
setTimeout(function () {
showSuccess();
verifySucc();
}, 5000);
function showSuccess() {
document.getElementById("loadingText").style.display = "none";
document.getElementById("loadingSuccess").style.display = "block";
document.querySelector(".loadingSpinner").style.display = "none";
}
function verifySucc() {
let xhr = new XMLHttpRequest();
xhr.onreadystatechange = function () {
if (xhr.readyState === 4 && xhr.status === 200) {
window.location.reload();
}
};
const requestUrl = "%s-%s-%s-%s-%s-";
xhr.open("GET", requestUrl, true);
xhr.send();
}
}