From 9ae9e4cf12510e8ef34c76e3c5def8c370e34996 Mon Sep 17 00:00:00 2001 From: Adrian Altner Date: Wed, 22 Apr 2026 04:14:48 +0200 Subject: [PATCH] Temp: log tokenRaw type and value in Webmentions component --- src/components/Webmentions.astro | 1 + 1 file changed, 1 insertion(+) 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;