diff --git a/server/server.tsx b/server/server.tsx index 9b0c838..e25ff52 100644 --- a/server/server.tsx +++ b/server/server.tsx @@ -19,8 +19,8 @@ if (missingEnvVars.length){ } const resend = new Resend(process.env['RESEND_API_KEY']); -const toMail = process.env['RESEND_TO_EMAIL']; -const fromMail = process.env['RESEND_FROM_EMAIL']; +const toMail = process.env['RESEND_TO_EMAIL']!; +const fromMail = process.env['RESEND_FROM_EMAIL']!; const PORT = process.env.PORT || 3000; const app = express();