From 4b194a04f150779c85051ab410aedff0a7dff991 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Tue, 24 Mar 2026 11:08:22 -0700 Subject: [PATCH] fix: replace payment.collaborative-finance.net with crypto-commons.org CoFi payment is now at crypto-commons.org/cofi4-payment exclusively. Removed all references to the old payment.collaborative-finance.net domain. Co-Authored-By: Claude Opus 4.6 --- .env.example | 2 +- app/api/create-checkout-session/route.ts | 2 +- app/layout.tsx | 4 ++-- docker-compose.yml | 4 ++-- embed-snippet.html | 8 ++++---- lib/event.config.ts | 2 +- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.env.example b/.env.example index 553d95c..a8cf0a9 100644 --- a/.env.example +++ b/.env.example @@ -5,7 +5,7 @@ MOLLIE_API_KEY=test_xxxxxxxxxxxxxxxxxxxxxxxxxxxx # ── Public URL (used for Mollie redirects and webhooks) ── -NEXT_PUBLIC_BASE_URL=https://payment.collaborative-finance.net +NEXT_PUBLIC_BASE_URL=https://crypto-commons.org # ── Google Sheets (registration data) ── # JSON string of the service account key diff --git a/app/api/create-checkout-session/route.ts b/app/api/create-checkout-session/route.ts index ff5c8e4..bb1535b 100644 --- a/app/api/create-checkout-session/route.ts +++ b/app/api/create-checkout-session/route.ts @@ -9,7 +9,7 @@ import { } from "@/lib/event.config" // Public base URL -const BASE_URL = process.env.NEXT_PUBLIC_BASE_URL || "https://payment.collaborative-finance.net" +const BASE_URL = process.env.NEXT_PUBLIC_BASE_URL || "https://crypto-commons.org" export async function POST(request: NextRequest) { try { diff --git a/app/layout.tsx b/app/layout.tsx index 1cfaa90..8aec43c 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -7,7 +7,7 @@ const _geist = Geist({ subsets: ["latin"] }) const _geistMono = Geist_Mono({ subsets: ["latin"] }) export const metadata: Metadata = { - metadataBase: new URL("https://payment.collaborative-finance.net"), + metadataBase: new URL("https://crypto-commons.org/cofi4-payment"), title: "CoFi 2026 — Registration", description: "Register for CoFi 2026 — Collaborative Finance. Reimagining finance for the commons.", @@ -22,7 +22,7 @@ export const metadata: Metadata = { title: "CoFi 2026 — Registration", description: "Register for CoFi 2026 — Collaborative Finance. Reimagining finance for the commons.", - url: "https://payment.collaborative-finance.net", + url: "https://crypto-commons.org/cofi4-payment", siteName: "CoFi", locale: "en_US", type: "website", diff --git a/docker-compose.yml b/docker-compose.yml index 535b3a6..01ce65a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,7 @@ services: - INFISICAL_PROJECT_SLUG=cofi-register # Non-secret config (defaults inline) - NODE_ENV=production - - NEXT_PUBLIC_BASE_URL=${NEXT_PUBLIC_BASE_URL:-https://payment.collaborative-finance.net} + - NEXT_PUBLIC_BASE_URL=${NEXT_PUBLIC_BASE_URL:-https://crypto-commons.org} - GOOGLE_SHEET_NAME=${GOOGLE_SHEET_NAME:-Registrations} - BOOKING_SHEET_NAME=${BOOKING_SHEET_NAME:-Sheet1} - SMTP_HOST=${SMTP_HOST:-mail.rmail.online} @@ -22,7 +22,7 @@ services: - LISTMONK_LIST_ID=${LISTMONK_LIST_ID:-27} labels: - "traefik.enable=true" - - "traefik.http.routers.cofi-register.rule=Host(`payment.collaborative-finance.net`) || Host(`cofi-register-staging.jeffemmett.com`)" + - "traefik.http.routers.cofi-register.rule=Host(`cofi-register-staging.jeffemmett.com`)" - "traefik.http.routers.cofi-register.entrypoints=web,websecure" - "traefik.http.services.cofi-register.loadbalancer.server.port=3000" healthcheck: diff --git a/embed-snippet.html b/embed-snippet.html index dee8467..baf9814 100644 --- a/embed-snippet.html +++ b/embed-snippet.html @@ -1,15 +1,15 @@ + Register for CoFi 2026 --> diff --git a/lib/event.config.ts b/lib/event.config.ts index cc1c6d5..0029877 100644 --- a/lib/event.config.ts +++ b/lib/event.config.ts @@ -215,7 +215,7 @@ export const EMAIL_BRANDING = { export const LINKS = { website: "https://www.collaborative-finance.net", - register: "https://payment.collaborative-finance.net", + register: "https://crypto-commons.org/cofi4-payment", telegram: "", // TBD — set when community channel is created community: "", // TBD — set when community channel is created contactEmail: "cofi.gathering@gmail.com",