From 0cd5e78ced5d8d083c8959ecfaf8fe5977ecc872 Mon Sep 17 00:00:00 2001 From: Noloquideus Date: Fri, 24 Apr 2026 21:33:06 +0300 Subject: [PATCH] fix --- js/main.js | 2 +- js/site-config.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: '',