Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,18 @@ NEXT_PUBLIC_CMS_URL=https://cms.your-domain.com
CMS_API_URL=https://cms.your-domain.com
CMS_API_TOKEN=your_strapi_api_token

# Server-side only — listmonk newsletter integration
# Base URL of listmonk instance (no trailing slash preferred)
LISTMONK_BASE_URL=https://newsletter.project-sentiment.org
# listmonk API user (basic auth username)
LISTMONK_API_USER=auth
# listmonk API key (basic auth password)
LISTMONK_API_KEY=your_listmonk_api_key
# list ID to subscribe/unsubscribe against
LISTMONK_LIST_ID=1

# ALTCHA bot protection — server-side only
# Must match ALTCHA_HMAC_SECRET in the Strapi CMS .env
# Used by Next.js API routes (`/api/newsletter/challenge` and `/api/newsletter/subscribe`)
# Generate with: openssl rand -hex 32
ALTCHA_HMAC_SECRET=your_altcha_hmac_secret

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
"@hookform/resolvers": "5.2.2",
"@react-email/components": "1.0.12",
"@strapi/blocks-react-renderer": "1.0.2",
"altcha": "2.3.0",
"altcha-lib": "1.4.1",
"altcha": "3.0.4",
"altcha-lib": "2.0.3",
"clsx": "2.1.1",
"lucide-react": "1.9.0",
"next": "16.2.4",
Expand Down
85 changes: 58 additions & 27 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
169 changes: 0 additions & 169 deletions src/__tests__/app/api/newsletter/confirm.test.ts

This file was deleted.

Loading