diff --git a/index.js b/index.js index 0be1f5a..c8e34e2 100644 --- a/index.js +++ b/index.js @@ -192,7 +192,7 @@ export default class ActivityPubEndpoint { const router = express.Router(); // eslint-disable-line new-cap const self = this; - router.get("*", async (request, response, next) => { + router.get("{*path}", async (request, response, next) => { const accept = request.headers.accept || ""; const isActivityPub = accept.includes("application/activity+json") || diff --git a/package.json b/package.json index b40a939..8bc9e1e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rmdes/indiekit-endpoint-activitypub", - "version": "0.1.1", + "version": "0.1.2", "description": "ActivityPub federation endpoint for Indiekit via Fedify. Adds full fediverse support: actor, inbox, outbox, followers, following, syndication, and Mastodon migration.", "keywords": [ "indiekit",