diff --git a/src/pages/contact.astro b/src/pages/contact.astro index a283cd0..f2ad201 100644 --- a/src/pages/contact.astro +++ b/src/pages/contact.astro @@ -77,10 +77,10 @@ import Layout from "../layouts/Layout.astro"; }, owner: 'owner_value', domain: 'domain_value', - referrer: document.referrer + referrer: document.referrer }; - fetch('https://192.168.0.166/v3/contact-form-processor/', { + fetch('http://192.168.0.166:2053/v3/contact-form-processor/', { method: 'POST', headers: { 'Content-Type': 'application/json' @@ -90,14 +90,14 @@ import Layout from "../layouts/Layout.astro"; .then(response => response.json()) .then(data => { if (data.success) { - alert('Data submitted successfully'); + console.log('Data submitted successfully'); } else { - alert('Error: ' + data.message); + console.log('Error: ' + data.message); } }) .catch(error => { console.error('Error:', error); - alert('An error occurred while submitting the form'); + console.log('An error occurred while submitting the form'); }); });