Loading packages/fedify/src/nodeinfo/client.ts +1 −1 Original line number Diff line number Diff line Loading @@ -121,7 +121,7 @@ export async function getNodeInfo( "href" in link && link.href != null ); if (link == null) { if (link == null || link.href == null) { logger.error( "Failed to find a NodeInfo document link from {url}: {resourceDescriptor}", { url: wellKnownUrl.href, resourceDescriptor: wellKnownRd }, Loading packages/fedify/src/vocab/lookup.ts +1 −1 Original line number Diff line number Diff line Loading @@ -161,7 +161,7 @@ async function lookupObjectInternal( l.type !== "application/activity+json" && !l.type?.match( /application\/ld\+json;\s*profile="https:\/\/www.w3.org\/ns\/activitystreams"/, ) || l.rel !== "self" ) || l.rel !== "self" || l.href == null ) continue; try { const remoteDoc = await documentLoader(l.href, { Loading Loading
packages/fedify/src/nodeinfo/client.ts +1 −1 Original line number Diff line number Diff line Loading @@ -121,7 +121,7 @@ export async function getNodeInfo( "href" in link && link.href != null ); if (link == null) { if (link == null || link.href == null) { logger.error( "Failed to find a NodeInfo document link from {url}: {resourceDescriptor}", { url: wellKnownUrl.href, resourceDescriptor: wellKnownRd }, Loading
packages/fedify/src/vocab/lookup.ts +1 −1 Original line number Diff line number Diff line Loading @@ -161,7 +161,7 @@ async function lookupObjectInternal( l.type !== "application/activity+json" && !l.type?.match( /application\/ld\+json;\s*profile="https:\/\/www.w3.org\/ns\/activitystreams"/, ) || l.rel !== "self" ) || l.rel !== "self" || l.href == null ) continue; try { const remoteDoc = await documentLoader(l.href, { Loading