SUPPORT-8783: Fix

This commit is contained in:
Eduard Tihomirov 2025-01-24 16:38:02 +03:00
parent 1c0f899d84
commit 02c335d24b

View file

@ -1,10 +1,11 @@
document.addEventListener("DOMContentLoaded", () => {
// Получаем значение flLandingUrl из data-атрибута
const flLandingUrl = document.getElementById("cert-check-info").dataset.certUrl;
const certUrl = document.getElementById("cert-check-info").dataset.certUrl;
// Выполняем fetch с использованием полученного URL
fetch(flLandingUrl, { mode: "no-cors" })
.then(() => {
fetch(certUrl, { mode: "no-cors" })
.then((response) => {
console.log(response);
document.getElementById("cert-check-info").hidden = true;
})
.catch((error) => {