fix
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
window.__SITE_CONFIG__ = {
|
||||
siteUrl: 'https://elcsa.ru',
|
||||
notifyUrl: 'http://72.56.9.52:8000/notify',
|
||||
notifyUrl: '/notify',
|
||||
gtmContainerId: '',
|
||||
ga4MeasurementId: '',
|
||||
googleAdsId: '',
|
||||
|
||||
Reference in New Issue
Block a user