diff --git a/index.js b/index.js index 0e2fb19..c9c3c12 100644 --- a/index.js +++ b/index.js @@ -166,6 +166,8 @@ export default class ActivityPubEndpoint { router.use((req, res, next) => { if (!self._fedifyMiddleware) return next(); if (req.method !== "GET" && req.method !== "HEAD") return next(); + // Skip Fedify for admin routes — handled by authenticated router + if (req.path.startsWith("/admin")) return next(); return self._fedifyMiddleware(req, res, next); }); diff --git a/package.json b/package.json index edf9803..e94cd39 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@rmdes/indiekit-endpoint-activitypub", - "version": "1.0.17", + "version": "1.0.18", "description": "ActivityPub federation endpoint for Indiekit via Fedify. Adds full fediverse support: actor, inbox, outbox, followers, following, syndication, and Mastodon migration.", "keywords": [ "indiekit", diff --git a/views/activitypub-dashboard.njk b/views/activitypub-dashboard.njk index 2554b47..6c12d4a 100644 --- a/views/activitypub-dashboard.njk +++ b/views/activitypub-dashboard.njk @@ -39,8 +39,8 @@ {# Progress bar #}
@@ -48,39 +48,42 @@