diff --git a/src/components/Webmentions.astro b/src/components/Webmentions.astro index df7c16b..ac2014c 100644 --- a/src/components/Webmentions.astro +++ b/src/components/Webmentions.astro @@ -43,8 +43,10 @@ async function fetchMentions(target: string): Promise { url.searchParams.set('token', token); url.searchParams.set('per-page', '100'); const res = await fetch(url); + console.log(`[Webmentions] fetch ${t.slice(-40)} → ${res.status}`); if (!res.ok) return [] as WMEntry[]; const json = (await res.json()) as { children?: WMEntry[] }; + console.log(`[Webmentions] children=${json.children?.length ?? 0}`); return json.children ?? []; }; const [a, b] = await Promise.all([fetchOne(withSlash), fetchOne(withoutSlash)]);