diff --git a/.env.example b/.env.example index 95d9b59..4962d3b 100644 --- a/.env.example +++ b/.env.example @@ -49,7 +49,7 @@ GOOGLE_SHEET_NAME=Waitlist MOLLIE_API_KEY=test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx # Public base URL for redirects and webhooks -BASE_URL=https://votc.jeffemmett.com +BASE_URL=https://valleyofthecommons.com # ============================================ # AI Gateway Configuration for Game Chat diff --git a/api/application.js b/api/application.js index 449c492..bd30d50 100644 --- a/api/application.js +++ b/api/application.js @@ -47,7 +47,7 @@ const confirmationEmail = (application) => ({
In the meantime, feel free to explore more about the Commons Hub and our community:
If you have any questions, reply to this email and we'll get back to you.
@@ -101,7 +101,7 @@ const adminNotificationEmail = (application) => ({ diff --git a/api/mollie.js b/api/mollie.js index 9ed4730..532a59b 100644 --- a/api/mollie.js +++ b/api/mollie.js @@ -68,7 +68,7 @@ async function createPayment(applicationId, ticketType, weeksCount, email, first throw new Error(`Invalid ticket type: ${ticketType}`); } - const baseUrl = process.env.BASE_URL || 'https://votc.jeffemmett.com'; + const baseUrl = process.env.BASE_URL || 'https://valleyofthecommons.com'; const description = `Valley of the Commons - ${TICKET_LABELS[ticketType] || ticketType}`; const payment = await mollieClient.payments.create({ diff --git a/api/waitlist-db.js b/api/waitlist-db.js index 953cafd..c13b087 100644 --- a/api/waitlist-db.js +++ b/api/waitlist-db.js @@ -3,6 +3,7 @@ const { Pool } = require('pg'); const nodemailer = require('nodemailer'); +const { syncWaitlistSignup } = require('./google-sheets'); // Initialize PostgreSQL connection pool const pool = new Pool({ @@ -47,7 +48,7 @@ const welcomeEmail = (signup) => ({ ` : ''} @@ -59,8 +60,8 @@ const welcomeEmail = (signup) => ({
- You received this email because you signed up at votc.jeffemmett.com.
- Unsubscribe
+ You received this email because you signed up at valleyofthecommons.com.
+ Unsubscribe