diff --git a/src/components/Webmentions.astro b/src/components/Webmentions.astro index 5d0f588..df7c16b 100644 --- a/src/components/Webmentions.astro +++ b/src/components/Webmentions.astro @@ -8,6 +8,7 @@ declare global { } const tokenRaw = (globalThis as unknown as { __WEBMENTION_TOKEN__?: string }).__WEBMENTION_TOKEN__; const WEBMENTION_TOKEN = typeof tokenRaw === 'string' ? tokenRaw : ''; +console.log(`[Webmentions] tokenRaw type=${typeof tokenRaw} len=${WEBMENTION_TOKEN.length} raw="${String(tokenRaw).slice(0,4)}..."`); interface WMAuthor { name?: string;