diff --git a/server.js b/server.js index b0edcc6..21b7db2 100644 --- a/server.js +++ b/server.js @@ -1,3 +1,7 @@ +// Load environment variables from .env file first +import dotenv from 'dotenv'; +dotenv.config(); + import express from 'express'; import compression from 'compression'; import { handler } from './dist/server/entry.mjs'; diff --git a/src/components/ui/Form.astro b/src/components/ui/Form.astro index b8324d8..160c848 100644 --- a/src/components/ui/Form.astro +++ b/src/components/ui/Form.astro @@ -84,12 +84,12 @@ const { inputs, textarea, disclaimer, button = 'Contact us', description = '', s { disclaimer && (