Unverified Commit 640a7d1d authored by Hong Minhee's avatar Hong Minhee
Browse files

Fix up docs

[ci skip]
parent fb2366f2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -36,8 +36,8 @@ To be released.
     -  Added the optional second parameter to `lookupWebFinger()` function.
     -  Added `LookupWebFingerOptions` interface.
     -  Added `GetNodeInfoOptions.userAgent` option.
     -  Added `-u`/--user-agent` option to `fedify lookup` subcommand.
     -  Added `-u`/--user-agent` option to `fedify node` subcommand.
     -  Added `-u`/`--user-agent` option to `fedify lookup` subcommand.
     -  Added `-u`/`--user-agent` option to `fedify node` subcommand.

 -  Fedify now caches unavailable keys of remote actors as well to avoid
    trying fetching the same unavailable key multiple times.
+4 −2
Original line number Diff line number Diff line
@@ -25,8 +25,9 @@ interface FreshContext {
 *
 * @example _middleware.ts
 * ``` typescript
 * import { integrateFetchOptions } from "@fedify/fedify/x/fresh";
 * import { FreshContext } from "$fresh/server.ts";
 * import { federation } from "federation.ts"; // Import the `Federation` object
 * import { federation } from "./federation.ts"; // Import the `Federation` object
 *
 * export async function handler(request: Request, context: FreshContext) {
 *   return await federation.fetch(request, {
@@ -77,7 +78,8 @@ export function integrateFetchOptions(
 *
 * @example _middleware.ts
 * ``` typescript
 * import { federation } from "federation.ts"; // Import the `Federation` object
 * import { integrateHandler } from "@fedify/fedify/x/fresh";
 * import { federation } from "./federation.ts"; // Import the `Federation` object
 *
 * export const handler = integrateHandler(federation, () => undefined);
 * ```