Remove debug instrumentation and unused webmentions lib
All checks were successful
Deploy / deploy (push) Successful in 1m18s

Drop the hidden data-webmentions-debug div, the console.log in
astro.config.mjs, and src/lib/webmentions.ts (which was superseded by
the inline fetch in Webmentions.astro).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Adrian Altner 2026-04-22 03:18:41 +02:00
parent 7de0a815f4
commit df59a1405f
3 changed files with 7 additions and 143 deletions

View file

@ -10,7 +10,6 @@ import node from '@astrojs/node';
const envMode = process.env.NODE_ENV === 'production' ? 'production' : 'development';
const envVars = loadEnv(envMode, process.cwd(), '');
const WEBMENTION_TOKEN = envVars.WEBMENTION_TOKEN || process.env.WEBMENTION_TOKEN || '';
console.log(`[astro.config] loadEnv mode=${envMode} token-len=${WEBMENTION_TOKEN.length}`);
// https://astro.build/config
export default defineConfig({