diff options
Diffstat (limited to 'src/server/activitypub.ts')
| -rw-r--r-- | src/server/activitypub.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/server/activitypub.ts b/src/server/activitypub.ts index 3d346693d8..2cbce8cfbc 100644 --- a/src/server/activitypub.ts +++ b/src/server/activitypub.ts @@ -13,6 +13,7 @@ import renderPerson from '../remote/activitypub/renderer/person'; import Outbox, { packActivity } from './activitypub/outbox'; import Followers from './activitypub/followers'; import Following from './activitypub/following'; +import Featured from './activitypub/featured'; // Init router const router = new Router(); @@ -102,6 +103,9 @@ router.get('/users/:user/followers', Followers); // following router.get('/users/:user/following', Following); +// featured +router.get('/users/:user/collections/featured', Featured); + // publickey router.get('/users/:user/publickey', async ctx => { const userId = new mongo.ObjectID(ctx.params.user); |