Update Astro configuration to switch from Netlify to Node adapter and update dependencies

- Replace Netlify adapter with Node adapter in astro.config.ts for standalone mode.
- Update package.json to reflect the new dependency on @astrojs/node.
- Modify package-lock.json to include updated versions of dependencies and remove Netlify-specific configurations from the contact form.
This commit is contained in:
2025-06-07 00:44:48 +02:00
parent 02fe6d217a
commit 0893e235c2
4 changed files with 1891 additions and 454 deletions

View File

@@ -20,8 +20,6 @@ const { inputs, textarea, disclaimer, button = 'Contact us', description = '' }
name="contact"
method="POST"
class="needs-validation"
data-netlify="true"
data-netlify-honeypot="bot-field"
novalidate
>
<!-- Form status messages -->
@@ -33,9 +31,6 @@ const { inputs, textarea, disclaimer, button = 'Contact us', description = '' }
There was an error sending your message. Please check all fields and try again.
</div>
<!-- Netlify form name -->
<input type="hidden" name="form-name" value="contact" />
<!-- CSRF token field (will be filled by JS) -->
<input type="hidden" name="csrf_token" id="csrf_token" value="" />