Files
apophenia.news/scripts/lib/constants.mjs
T
multipleof4andClaude Opus 5.5 80139d559b Feat: Add Cloudflare Turnstile to newsletter signup
Renders an interaction-only Turnstile widget on /newsletter/ and sends its
token to newsletter.planetrenox.com/api/sub, which verifies it server side.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 14:08:15 +00:00

21 lines
712 B
JavaScript

import path from "node:path";
export const ROOT = process.cwd();
export const SRC = path.join(ROOT, "src");
export const PUBLIC = path.join(ROOT, "public");
export const UNLISTED_PATH = path.join(ROOT, "unlisted.txt");
export const ARTICLES_GLOB = "articles/**/index.md";
export const SITE_URL = (process.env.SITE_URL || "https://apophenia.news").replace(/\/+$/, "");
// Public site key of the "newsletter" Turnstile widget (secret lives on newsletter.planetrenox.com)
export const TURNSTILE_SITE_KEY = "0x4AAAAAAFG4HWETOcDDQ5vg";
export const AUTHOR_PAGES = [
{
slug: "renox",
name: "Renox",
bio: "Renox is the founder of apophenia.news.",
contact: "planetrenox@pm.me",
image: ""
}
];