Temp: log tokenRaw type and value in Webmentions component
Some checks failed
Deploy / deploy (push) Has been cancelled

This commit is contained in:
Adrian Altner 2026-04-22 04:14:48 +02:00
parent 07f677899a
commit 9ae9e4cf12

View file

@ -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;