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();
|
||||
|
||||
Reference in New Issue
Block a user