Remove Netlify form handling logic from BasicScripts.astro and update Form.astro to set action attribute for contact form submission to the new API endpoint.

This commit is contained in:
2025-06-07 01:39:21 +02:00
parent a56bc83d59
commit fcf639edcc
2 changed files with 2 additions and 185 deletions

View File

@@ -19,6 +19,7 @@ const { inputs, textarea, disclaimer, button = 'Contact us', description = '' }
id="contact-form"
name="contact"
method="POST"
action="/api/contact"
class="needs-validation"
novalidate
>