diff --git a/js/main.js b/js/main.js index 77807c0..cd2a9dc 100644 --- a/js/main.js +++ b/js/main.js @@ -53,7 +53,7 @@ function initCabinetSubmit() { form.addEventListener('submit', async (e) => { e.preventDefault(); const cfg = window.__SITE_CONFIG__ || {}; - const url = cfg.notifyUrl || 'http://72.56.9.52:8000/notify'; + const url = cfg.notifyUrl || '/notify'; const fd = new FormData(form); const name = String(fd.get('name') || '').trim(); const email = String(fd.get('email') || '').trim(); diff --git a/js/site-config.js b/js/site-config.js index a2300a1..6c8df7a 100644 --- a/js/site-config.js +++ b/js/site-config.js @@ -1,6 +1,6 @@ window.__SITE_CONFIG__ = { siteUrl: 'https://elcsa.ru', - notifyUrl: 'http://72.56.9.52:8000/notify', + notifyUrl: '/notify', gtmContainerId: '', ga4MeasurementId: '', googleAdsId: '',