SUPPORT-8783: Fix
This commit is contained in:
parent
8d22f4d75b
commit
ff2a62efb0
1 changed files with 1 additions and 3 deletions
|
|
@ -1,12 +1,10 @@
|
|||
fetch("https://lkrp-dev2.micord.ru")
|
||||
fetch("https://lkrp-dev2.micord.ru", { mode: "no-cors" })
|
||||
.then((response) => {
|
||||
if (!response.ok) {
|
||||
throw new Error("Server responded with status " + response.status);
|
||||
}
|
||||
document.getElementById("cert-check-info").hidden = true;
|
||||
console.log("Success: Certificate check passed!");
|
||||
})
|
||||
.catch((error) => {
|
||||
document.getElementById("cert-check-info").hidden = false;
|
||||
console.error("Fetch error:", error.message || error);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue