From cb635893ccf17ed3850af6a0b2f96a70518edb39 Mon Sep 17 00:00:00 2001 From: Hoelee Date: Tue, 10 Nov 2026 13:01:53 +0800 Subject: [PATCH] fix(http): carry the link preview on the envelope, not only as evidence rows The report draws a WhatsApp-style card from httpResult.preview, which the check never returned, so the card the whole page is built around was silently absent. Verified live: www.hoelee.com now renders og image, title and description. --- src/checks/http.mjs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/checks/http.mjs b/src/checks/http.mjs index 1f7f9cc..11f45ec 100644 --- a/src/checks/http.mjs +++ b/src/checks/http.mjs @@ -565,6 +565,10 @@ export async function checkHttp(input, { lookup } = {}) { summary: analysis.summary, evidence: analysis.evidence, findings: analysis.findings, + // The report draws a WhatsApp-style card straight from this object, so it must travel with + // the envelope and not only as evidence rows. + preview: analysis.preview, + redirects: analysis.redirects, checkedAt, fromCache: false }; @@ -578,6 +582,8 @@ export async function checkHttp(input, { lookup } = {}) { summary: analysis.summary, evidence: analysis.evidence, findings: analysis.findings, + preview: null, + redirects: analysis.redirects, checkedAt, fromCache: false };