diff --git a/src/lib/link-meta/link-meta.ts b/src/lib/link-meta/link-meta.ts index b466095337..3d9a695f05 100644 --- a/src/lib/link-meta/link-meta.ts +++ b/src/lib/link-meta/link-meta.ts @@ -62,7 +62,10 @@ export async function getLinkMeta( likelyType, url, } - if (likelyType !== LikelyType.HTML) { + const htmlExemptedHostnames: string[] = ['storage.courtlistener.com'] + const isExemptedFromHtmlCheck = htmlExemptedHostnames.includes(urlp.hostname) + // Skip early return only for hosts exempted from the HTML check + if (likelyType !== LikelyType.HTML && !isExemptedFromHtmlCheck) { return meta }