Loading docs/manual/webfinger.md +5 −2 Original line number Diff line number Diff line Loading @@ -159,8 +159,11 @@ federation.setWebFingerLinksDispatcher(async (ctx, _resource) => { The WebFinger links dispatcher receives two parameters: - `ctx`: The federation context - `resource`: The resource The URL that provide additional info to dispatcher `ctx` : The federation context `resource` : The URL queried via WebFinger > [!TIP] > The WebFinger endpoint is automatically exposed at `/.well-known/webfinger` Loading packages/fedify/src/federation/callback.ts +2 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,8 @@ export type NodeInfoDispatcher<TContextData> = ( * A callback that dispatches a array of {@link Link}. * * @template TContextData The context data to pass to the {@link Context}. * @param resource The URL that provide additional info to dispatcher * @param resource The URL queried via WebFinger. * @returns Links related to the queried resource. */ export type WebFingerLinksDispatcher<TContextData> = ( context: RequestContext<TContextData>, Loading Loading
docs/manual/webfinger.md +5 −2 Original line number Diff line number Diff line Loading @@ -159,8 +159,11 @@ federation.setWebFingerLinksDispatcher(async (ctx, _resource) => { The WebFinger links dispatcher receives two parameters: - `ctx`: The federation context - `resource`: The resource The URL that provide additional info to dispatcher `ctx` : The federation context `resource` : The URL queried via WebFinger > [!TIP] > The WebFinger endpoint is automatically exposed at `/.well-known/webfinger` Loading
packages/fedify/src/federation/callback.ts +2 −1 Original line number Diff line number Diff line Loading @@ -20,7 +20,8 @@ export type NodeInfoDispatcher<TContextData> = ( * A callback that dispatches a array of {@link Link}. * * @template TContextData The context data to pass to the {@link Context}. * @param resource The URL that provide additional info to dispatcher * @param resource The URL queried via WebFinger. * @returns Links related to the queried resource. */ export type WebFingerLinksDispatcher<TContextData> = ( context: RequestContext<TContextData>, Loading