@fedify/init 2.4.0-dev.2164 → 2.4.0-dev.2190

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/deno.js CHANGED
@@ -1,4 +1,4 @@
1
1
  //#region deno.json
2
- var version = "2.4.0-dev.2164+db2b8571";
2
+ var version = "2.4.0-dev.2190+be3a8be0";
3
3
  //#endregion
4
4
  export { version };
@@ -13,8 +13,12 @@ export default fedifyWith(federation)(
13
13
  */
14
14
  );
15
15
 
16
- // This config needs because middleware process only requests with the
17
- // "Accept" header matching the federation accept regex.
16
+ // This config makes the middleware run only for requests that may be
17
+ // federation requests: requests whose "Accept" or "Content-Type" header
18
+ // has a federation media type, NodeInfo requests, and FEP-ef61 gateway
19
+ // requests such as hashlink media, which clients fetch with, e.g.,
20
+ // "Accept: image/*". fedifyWith() then decides which of them Fedify
21
+ // handles.
18
22
  // More details: https://nextjs.org/docs/app/api-reference/file-conventions/middleware#config-object-optional
19
23
  export const config = {
20
24
  runtime: "nodejs",
@@ -41,5 +45,6 @@ export const config = {
41
45
  },
42
46
  { source: "/.well-known/nodeinfo" },
43
47
  { source: "/.well-known/x-nodeinfo2" },
48
+ { source: "/.well-known/apgateway/:path*" },
44
49
  ],
45
50
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/init",
3
- "version": "2.4.0-dev.2164+db2b8571",
3
+ "version": "2.4.0-dev.2190+be3a8be0",
4
4
  "description": "Project initializer for Fedify",
5
5
  "keywords": [
6
6
  "fedify",